• Resolved nfmusician

    (@nbeversluis)


    We have a page using three Query Wrangler queries, all with the same query parameters. The first four (large top and three medium) stories are one query, the next three stories are a second query using an offset of 3, and underneath the violator is a third query, using an offset of 6. When you press the Load More button, which just fetches the next page using AJAX, you’ll see the third (bottom) query cycles back to the stories it missed within the first page of 10. Can you tell us if there is a way to get this to work?

    Password for the page is qw-support

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Jonathan Daggerhart

    (@daggerhart)

    Hi @nbeversluis,

    This is basically a bug with Query Wrangler because the WP_Query class doesn’t automatically support offsets and pagination working together.

    I just created a new release with what I hope is a fix for this (version 1.5.45). Could you try updating to that version and let me know if it fixes the issue?

    Thread Starter nfmusician

    (@nbeversluis)

    Thanks for the update, but unfortunately no change. I’ve put this version at the same link above.

    • This reply was modified 4 years, 10 months ago by nfmusician.
    Thread Starter nfmusician

    (@nbeversluis)

    Disregard my previous message. It is working correctly!

    Plugin Author Jonathan Daggerhart

    (@daggerhart)

    Awesome! Thanks for letting me know

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Posts get repeated when several queries are used on the same page using offsets’ is closed to new replies.