We're merging with GenerateBlocks! Learn more here.

[Support request] AJAX Pagination loading same set of posts

Please login to receive premium support.

Support for the free plugin can be found here.

Home Forums Pro Support AJAX Pagination loading same set of posts

Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #32663
    JC
    Participant

    Hello,

    I have 1 WP Show Posts list on the home page and with AJAX Pagination enabled if you click LOAD MORE it loads the same posts as the latest at the top but with different dates.

    You can see it on the home page on http://www.hangry.recipes

    #32674
    elvin
    Moderator

    Hi there,

    Let’s try to debug this.

    Can you try disabling ALL plugins except WPSP and see if it still occurs? To see if it’s a plugin conflict.

    Also, if you have code snippets on your functions.php, can you temporarily comment them out as well? In case some may cause conflict.

    Let us know how it goes. 😀

    #32681
    JC
    Participant

    Hi Elvin,

    Already tried that as in ALL off accept WP Show Posts Free and Pro and still not working and yes cleared the functions.php, no cache and flushed before I disabled the plugin.

    #32683
    JC
    Participant

    The funny thing is with pagination on and AJAX off page/2/ does not work only seems like 4/5/6 works lol. Its going off for now as I cannot have that on the site and I will test it on another install later to see if the problem persists.

    #34914
    elvin
    Moderator

    Hi JC,

    My apologies. Thread got buried.

    Have you ever sorted this out? This is quite unusual as we’ve never encountered AJAX pagination issues that only occur on the 2nd page.

    Do you have other WordPress sites w/ WPSP? Does the same issue occur on them?

    #34916
    JC
    Participant

    Hi Elven,

    Unfortunately not, have lots of or had lots of issues with the pagination not just on load more ajax but the others so not using it so back to page 1,2,3, standards.

    #34918
    elvin
    Moderator

    Strange.

    Let me try to remember the context. Is WPSP list added on a blog index page?

    Or perhaps, were there any other post loops within the same page other than the WPSP? like the default blog index post listing or another WPSP list?

    If there were then that could be an issue.

    If there’s only 1 post loop on a page like this – https://dev-generate-press.pantheonsite.io/wp_show_posts-id7/ – then it would work fine.

    But if there are 2 post loops and 1 has an offset, then that could break things like the WPSP in this sidebar – https://dev-generate-press.pantheonsite.io/blog/

    This is pretty much the only known bug and it’s a WordPress core bug. (WP_Query bug to be specific)

    • This reply was modified 8 months ago by elvin.
    #34921
    JC
    Participant

    Hello, no it’s the only one, you can have a look on the home page of this site I just activated ajax again, https://www.hangry.recipes/

    • This reply was modified 8 months ago by JC.
    #34924
    elvin
    Moderator

    Strange indeed.

    Can you clone the site to a staging site and let us have backend access to it? To check its backend as to why it occurs on your site.

    I’d like to check the settings of the site (and plugin combination) to try to replicate this issue on my end as well to confirm if its another bug.

    You can send the details on our contact page – https://wpshowposts.com/contact/

    • This reply was modified 8 months ago by elvin.
    #34927
    JC
    Participant

    I will sned you a mail now.

    #34971
    elvin
    Moderator

    Thanks.

    I’ve inspected the site and the issue seems to occur only when Yoast SEO Premium is activated.

    Perhaps it has a settings that messes w/ the AJAX requests.

    Note: I left the Yoast SEO Premium deactivated for you to see. You can activate it again to check that it’s the one causing the issue. 😀

    • This reply was modified 8 months ago by elvin.
    #34978
    JC
    Participant

    Hello, yoast premium will ad for the most part only back-end user features nothing in the front end and I have disabled some of the features that might affect the front-end but did not help it to work. Unfortunately will have ot file this as WP Show posts pagination not working with Yoast Premium as Yoast will not fix an issue with a 3rd party plugin.

    Thanks for your help and for now I will just have to leave it disabled.

    #34981
    elvin
    Moderator

    No problem. 😀

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