• Resolved mgaustin

    (@mgaustin)


    When using Load More, the first 3 posts shown are duplicates of the last 3 which were already displayed. This only happens on the first use of Load More, after which it works properly.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author WPXPO

    (@wpxpo)

    Hi @mgaustin,

    I am sorry to say I can’t understand your issue clearly. Can you please describe it more or give me a screenshot of the problem?

    ?
    Note: You can upload your screenshot in here imgur.com it’s free and need not signup to upload some screenshot.

    Thread Starter mgaustin

    (@mgaustin)

    Scroll to the bottom of this page (PW: Blog2020):
    https://scalefactor.com/scaleblog-new-design/

    Click the “Load More” button. Notice that the first 3 newly-loaded posts are duplicates of the posts just above. Why is this happening and how do I prevent it?

    Thread Starter mgaustin

    (@mgaustin)

    More data: the amount of repeated posts is equal to the offset number in the query settings. I need that offset to make the page work, but it seems as though it’s not working correctly with the Load More pagination.

    Plugin Author WPXPO

    (@wpxpo)

    Hi @mgaustin,

    Thanks for your ticket. We check your problem, we are sorry to say that this is our plugins bug.
    ?
    We will fix this as soon as possible with a high priority. Our developer already concerns about this bug and he is now trying to solve this bug. But as his words, he needs some time to solve it. After solving the problem I will send you the immediate fix.

    Have a nice day.

    Thread Starter mgaustin

    (@mgaustin)

    Great, thank you wpxpo. One more thing: it does not seem to matter what type of pagination is selected (Load More, Page Numbers) — the duplicate posts still appear (equal to the offset number).

    Plugin Author WPXPO

    (@wpxpo)

    Hi @mgaustin,

    This is the core of WordPress Issue.

    Christophe is right. We already reply this in this support post- https://www.ads-software.com/support/topic/pagination-with-offset/ Please read the offset limitation defined by the WordPress- https://developer.www.ads-software.com/reference/classes/wp_query/

    offset (int) – number of posts to displace or pass over. Warning: Setting the offset parameter overrides/ignores the paged parameter and breaks pagination. The ‘offset’ parameter is ignored when ‘posts_per_page’=>-1 (show all posts) is used.

    That’s why we can not use page number 2 or more in offset 1. I hope you understand the situation. We have nothing to do in this situation.

    Previous Appairs Only when your page number is more than 3. That’s how we set the condition.

    Thanks a lot.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Load More showing duplicate posts’ is closed to new replies.