Home Forums Front-end Issues Access the acf “$_query” made, on a Relationship field Reply To: Access the acf “$_query” made, on a Relationship field

  • Hi John,

    And thanks for your answer. I just came back from my holidays.
    If i understand you well, the query made by acf to get the posts that match the relationship field, uses the posts_per_page define in the wp admin panel ?

    Anyway, my goal was to display a paginated list of posts.
    List which users can filters with taxonomies.
    And to achieve this, do not use another query. i.e. use only the query already made and modify this query with a pre_get_posts hook like.

    I manage to do so, in my archive page with the main_query and the pre_get_posts hook.

    But i don’t think it’s possible to achieve this, on my relationship based posts list, without made an additional custom query