Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • in reply to: Infinite Scroll not using filtered query. #6953
    MayorMcKraut
    Participant

    I will add this:

    I have a different ‘pre_get_posts’ filter to only show posts where a custom meta field is set to either 4 or 5. Again, this works for the first page of posts. When the infinite scroll kicks it, it just starts loading posts using the default query. (all posts, reverse chronological order).

    In short, Infinite Scroll always uses the default query for the archive and does not apply the filter. My posts per page is 18, and the second group of posts is the second group of 19 through 36 as if there was no filter applied.

    in reply to: Infinite Scroll not using filtered query. #6843
    MayorMcKraut
    Participant

    Wish I could. It’s only on a local machine at the moment.

Viewing 2 posts - 1 through 2 (of 2 total)