-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Need posts as per selected category #4
Comments
Can you explain me the use case behind it? To offer such a feature, Block Conditions would be needed, so that the post dropdown could only render posts of the selected category dropdown. As far as I know, conditional fields do not exist in lazyblocks yet.. Would it be an option to filter the posts within the template where you render the block later? |
Hello Janwidmer,
We need to show featured posts by a category on the homepage. So I am
creating a block, where I will ask users to add the post from a specific
category. As of now it shows me a list of all posts and I have a lot of
posts, it is difficult to select also requirements are shown by category.
I can do it using ACF and lazy block, but that becomes a hassle for users
to change at two places. Also it is tied to that page.
Regards,
Deepti
…On Thu, Jun 24, 2021 at 11:15 AM Jan Widmer ***@***.***> wrote:
Can you explain me the use case behind it?
To offer such a feature, Block Conditions would be needed, so that the
post dropdown could only render posts of the selected category dropdown. As
far as I know, conditional fields do not exist in lazyblocks yet..
Would it be an option to filter the posts within the template where you
render the block later?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#4 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEKEAL74PPQBKVD44F5S3ZLTULA6PANCNFSM47FVW4NQ>
.
|
Hey @demahagit, As soon as lazy blocks offers conditional fields, I will be able to enhance my plugin.. |
No problem. Thank you for your prompt response.
Regards,
Deepti
…On Thu, Jun 24, 2021 at 1:57 PM Jan Widmer ***@***.***> wrote:
Hey @demahagit <https://github.com/demahagit>,
As lazy blocks currently does not offer conditional field logic and I do
not have the capacity to build it my self, I am afraid, that I can
currently not support you on that..
As soon as lazy blocks offers conditional fields, I will be able to
enhance my plugin..
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#4 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEKEAL4RTH3WVOUEFXQGCGTTULUATANCNFSM47FVW4NQ>
.
|
I have added the dynamic select and selected post. It is giving me all the posts in my system. I need the posts as per category. How to do that?
The text was updated successfully, but these errors were encountered: