Show a text if looper comes back empty

Hi there!

I create an archive page so that people are able to see all posts in a certain category. If I have a category that has no posts in it, I want to show a message saying that there are currently no posts in this category. What is the string that I need to put in to make sure that the message shows up when it needs to but goes away when that category has posts in it?

Hi Marc,

Thanks for reaching out.
I will suggest you to add a Text element and set the condition to {{dc:looper:count}} == 0.

Hope it helps.
Thanks

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.