Are you a GenerateCustomer?

Do you have an active GP Premium or GenerateBlocks Pro license key?

Create a GenerateSupport account for GeneratePress and GenerateBlocks support in one dedicated place.

Create an account
Already have a GenerateSupport account? Login

Just browsing?

Feel free to browse the forums. Support for our free versions is provided on WordPress.org (GeneratePress, GenerateBlocks).

Want to become a premium user? Learn more below.

Feedback on GeneratePress Display Rule Logic

  • 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.jpeg

    Now 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/Dki5Mk8IckM

    The 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 🙂

  • Hi,
    Thanks the filter is super useful to make advanced usage. Thanks a lot for sharing that.

  • Thanks for sharing the generate_element_display filter. Completely went out of my mind. This resolved the issue implementing my complex case.

  • No problem 🙂

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.