Support

Account

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.