Support » Plugin: WordPress Infinite Scroll - Ajax Load More » Loader stops after 30 elements

  • Resolved kero

    (@kingkero)


    Hello,

    using the following shortcode [ajax_load_more container_type="ul" css_classes="all-posts" post_type="post" posts_per_page="6" category="leipzig-rauscht,stadtteile" category__not_in="1" author="2" transition_container="false"], you can see it here: http://www.viertelrausch.de/alle/

    The loader always stops after 30 elements have been loaded. Even though the meta in the response correctly states that there are ~70 posts in total. If I manually resend the XHR request with the next page, I get the correct result. What is going on here?

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

    (@dcooney)

    HI @kingkero,
    Try adding max_pages="0" to your shortcode.

    This is actually being updated to be the default in the next version of ALM.

    Cheers,

    Works like a charm, thanks! Shortcode Builder does not suggest this, even if “0” is written in max pages input

    • This reply was modified 3 years, 2 months ago by kero.
    Plugin Author dcooney

    (@dcooney)

    Yea, I think this is/was a bug. Appears a merge issue happened with the last release.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Loader stops after 30 elements’ is closed to new replies.