Hello to everyone here, I’m trying to use the repeater’s Advanced loop but I can’t get to make it work. It shows properly in the Edit page but when I load the website it will just omit the whole row, asi if nothing is there. Here is my code:
If I change <?php if( have_rows(‘mainnews_repeater’) ): ?> to inside <div class=”row mainnews”> , the page will at least show a gap where the row of cols it’s supposed to be but still it won’t show my custom fields.
I followed the documentation but I think I may be missing something very obvious but I can’t figure out what. I hope anyone here can give some advice, thanks in advance.
Viewing 1 post (of 1 total)
You must be logged in to reply to this topic.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users