• Resolved jorix

    (@jorix)


    Either I overlooked it or it’s not intuitive or just not possible (yet)?
    Use case: a section with various Elementor widgets (heading, separator, posts). If the Posts widget doesn’t return any posts, then hide the entire wrapping section. Is this possible? If so, is there a quick step-by-step guide available?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author rtowebsites

    (@rtowebsites)

    Hello @jorix

    If your Posts Widget queries for a category or post-type without a complex query, than you could create a condition on the wrapping section, using our DynamicTag “NumberPosts” and hide section if empty.
    In the NumberPosts-DynamicTag you can select a category or post-type and it will return how many posts are in it.

    If your query in Posts Widget is more complex, than i currently didnt see a way to do this.

    Plugin Author rtowebsites

    (@rtowebsites)

    Since it seems there is nothing more to discuss, we close the issue. Thank you.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘IF posts widget has posts, SHOW the wrapping section. Possible?’ is closed to new replies.