-
bigscoots
Hi,
It would be great if GeneratePress Display rule allows a bit more advanced conditioning. For example:“Something” -> Equals/Not Equals/Is in/Is not in -> Values
For example, look at this screenshot:
https://i.imgur.com/zGPzxI3.jpeg
https://i.imgur.com/zC1HaXN.jpegNow it would be so great if there was such a way where we could say the “Post Category Archive” -> “Is not in” -> And the list of categories where we would like this to show instead of doing it in this way.
I truly hope that the team will take this feedback and hopefully in future this will come into action.
Please let me know if you have any further questions, happy to answer them.
-
Hi there,
Sorry but I’m not sure if I can picture what you are after here.
In your example above, Would it be better to select Post Category Archive > All Categories, then exclude the categories that you don’t want the element to apply?
https://www.screencast.com/t/Dki5Mk8IckMThe Display Rules UI is very difficult to make for all users unfortunately.
There is also a filter to handle more complex conditions if it’s easier for you:
https://docs.generatepress.com/article/generate_element_display/Let me know 🙂
-
bigscoots
Hi,
Thanks the filter is super useful to make advanced usage. Thanks a lot for sharing that. -
bigscoots
Thanks for sharing the
generate_element_display
filter. Completely went out of my mind. This resolved the issue implementing my complex case. -
No problem 🙂
- You must be logged in to reply to this topic.