Support » Plugin: Ajax Pagination and Infinite Scroll » cannot retrieve last page

  • Resolved askingwoo

    (@askingwoo)


    It’s in custom post type archive page, and worked fine at first.
    But suddenly I found the last page doesn’t appear.
    “Load more button” disappear at last-2 page.
    I think it’s after I updated pretty permalink structure. (didn’t change it, but saved it again)
    When I turn off this plugin, the pagination works perfect.
    I’m using the_posts_pagination().
    Nothing wrong but last page.
    Can you help me please?

    • This topic was modified 4 years, 12 months ago by askingwoo.
    • This topic was modified 4 years, 12 months ago by askingwoo.
    • This topic was modified 4 years, 12 months ago by askingwoo.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author craigramsay

    (@malinkymedia)

    Hi, I would need to see a demo of this to test please.

    Thanks

    Hi, I’ve the same problem. Did you find a solution? I’m able to send you a demo but in a PM.

    Thanks

    Problem Solved!

    I was using next_posts_link(); function to call the Load more button. Using the_posts_pagination(); the plugin shows all the pages.

    • This reply was modified 4 years, 9 months ago by alesdeluca. Reason: problem with text editor
    • This reply was modified 4 years, 9 months ago by alesdeluca.
    Plugin Author craigramsay

    (@malinkymedia)

    Glad you got things sorted. Yes that’s a better pagination function to use. All the demos on the site use that.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘cannot retrieve last page’ is closed to new replies.