Support » Plugin: WordPress Infinite Scroll - Ajax Load More » Repeats Post already displayed

  • Resolved diraph


    Thanks for the plugin. great work you’ve done.

    I placed the shortcode on my homepage (index.php). The problem is when I click on ”load more Posts”, it starts by displaying posts already displayed posts before it displays the other posts.
    Also, I used the short-code on my archives pages. If user clicks on ”load more” it doesn’t load pages from the category ID or Tag ID.

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


    Hi @diraph,
    Since it sounds like you are loading posts before ALM, you will need to use the offset parameter to tell ALM to skip a few posts.

    [ajax_load_more offset="6"]

    For category and archives, please see the Code Samples. You have to pass the values to the shortcode.

    Hope that helps!

    It worked. Thanks

    But the loaded posts is not showing if it has loaded the page/2 or page/3

    See URL::

    Plugin Author dcooney


    For this you will need to figure out which page you are on and offset accordinaly, or use the SEO addon to generate paging URLs with Ajax.

    Hi there,

    We have used following shortcode;
    [ajax_load_more id=”1968046013″ post_type=”news” repeater=”default” posts_per_page=”10″ transition=”fade” orderby=”menu_order” order=”DESC” button_label=”Show More”]

    But we are facing the duplicate custom post type after loading next page. please see the screenshot

    The issue with orderby=”menu_order” order=”DESC” params

    Please suggest how to resolve it?

    • This reply was modified 1 year, 1 month ago by fxvisuals.
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Repeats Post already displayed’ is closed to new replies.