Home › Forums › Front-end Issues › wp_query filtering is not applying to repeater › Reply To: wp_query filtering is not applying to repeater
I am not sure I understand what you are trying to accomplish.
So, you have a list of terms.
For each term you create a query in order to fetch a list of posts.
For each post you fetch multiple repeaters.
For each repeater… Well, what is the content of these repeaters, and where do the filters come in?
In any case, if you aim to filter posts after they have been fetched by the query, generally it is a good idea to iterate the query results with $query->the_post()
and store the posts in another array for further processing, instead of printing them as they come.
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.