Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #6735
    MayorMcKraut
    Participant

    I have an archive page that, depending on the circumstances, returns posts in either alphabetical or the usual reverse chronological order. When it’s using alphabetical order, however, Infinite Scroll loads the additional posts in the standard chronological order. Is there any way to get the plugin to respect the filtered query?

    #6754
    tikaram
    Keymaster

    @mayormckraut: I will inform the development team regarding the issue and let you know soon.

    Regards,
    Tikaram

    #6764
    tikaram
    Keymaster

    @mayormckraut: Please post in your site URL as well so that I can check for the issue.

    Regards,
    Tikaram

    #6843
    MayorMcKraut
    Participant

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

    #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.

    #7256
    tikaram
    Keymaster

    @mayormckraut: I asked the development team regarding the issue. They have suggested me to ask you to disable the plugin completely and check the WordPress default pagination where you can select older post to select the older ones. If the older post works as desired by you the plugin must work accordingly. Let me know the result so that we can decide further.

    Regards,
    Tikaram

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.