Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Darren Cooney

    (@dcooney)

    Hi, I will have to see your code.

    Thread Starter zigojacko

    (@zigojacko)

    Oh hang on, I see what’s going on.

    There are ten posts loaded on the page by default, when I click ‘load more’, it loads the first ten again, then if I click on ‘load more’ again, it loads the next ten.

    How can I make the first ‘load-more’ start from page two of posts?

    Thanks.

    Plugin Author Darren Cooney

    (@dcooney)

    Use the offset param.

    Thread Starter zigojacko

    (@zigojacko)

    Hmm, I figured it out I think.

    I removed my content from the loop and added it into the default repeater so that no posts show by default, just a ‘load more’ button.

    And then I can auto load the posts (lazy load) and set scroll to false in the shortcode so that the user has to click the ‘load more’ button to load the next set of posts.

    I think I’ve sussed it now… Or at least, getting there.

    Thanks.

    Thread Starter zigojacko

    (@zigojacko)

    Ahh – didn’t even notice the offset param. Doh. Thanks man ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Doesn't load older/more posts but the same ones’ is closed to new replies.