Home › Forums › Front-end Issues › Repeater display in custom widget › Reply To: Repeater display in custom widget
I discovered the problem. It wasn’t related to ACF, at all.
I had an error in a pre_get_posts declaration, which was affecting the loop. I was using is_main_query() instead of $query->is_main_query().
I removed the problematic code, and it works like a charm.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.