• Resolved Tibor Paulsch

    (@tibor)


    Hi Ryan,

    Thx for your work! I am using the plugin for a custom event query, to just show upcoming events, but when there a no upcoming events, the front-end shows an empty page. In the editor it shows the default “No posts found” message.

    What I would like to do is show some custom content where there are no events to be shown, but I can not seem to find how to do this. Is this even possible? I am using a TwentyTwentyFour child theme here.

    Thanks in advance!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Ryan Welcher

    (@welcher)

    Hi there and thanks for using AQL! You can define what content is shown in this case by adding the No Results block and adding any blocks you’d like to see there.

    Have a look at this WordPress Playground link to see how that is set up. Be sure have a look at the list view.

    This isn’t really related to AQL so I’ll close this out but feel free to open another if needed!

    Thread Starter Tibor Paulsch

    (@tibor)

    Thanks Ryan! I saved my AQL block as a synced pattern (apparently without the no results block), and it turns out it is not available when editing the pattern later on. To be honest, I did not even know it existed ??

    Starting with a new AQL block from scratch, the no-results block showed up immediately.

    Plugin Author Ryan Welcher

    (@welcher)

    Great! I’m glad you got it sorted out!

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