Hi there,
I had a post loop that was working fine, but when I tried to add an If statement to check if posts exist, it broke everything. Perhaps this is because I have nested If statements, is that even allowed?
I followed the documentation here:
https://docs.loopsandlogic.com/104/how-to-show-posts-only-if-they-exist-and-display-a-message-if-they-dont-exist
Here is the template (It’s a little complicated):
code removed
Thanks.