I created a simple events looper using ACF fields. It’s on the home page and working just fine, but I want to display a “No Events” message when there are no events being looped. I’ve tried {{dc:looper:count}} == 0 and same with {{dc:looper:index}} but I can’t seem to get it to work. I got it to work on the events archive page where the looping is automatically tied to the post type. But for this section on the home page it’s just a stand alone looper on a regular page. Am I using the wrong string or something?
Hello @threeoten,
I would suggest you please add a condition like this {{dc:looper:found_posts}} == 0
Hope it helps
Thanks
That works, thank you!
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.