• Hi,

    In the post template at the bottom I placed a line echo do_shortcode('[ajax_load_more single_post="true" post_type="post" posts_per_page="1" offset="1" destroy_after="5" images_loaded="true" scroll_distance="-300" transition="none" progress_bar="true" progress_bar_color="ffa800"]');

    I tried to change scroll_distance but load more is still triggered when I reach the end of the post. I enabled progress_bar and I can clearly see that load more is triggered at the end of an article for sure.

    Server isn’t an issue here for sure.

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

    (@dcooney)

    @said303 I tested on your site and it is working as expect. The load more is triggering because the element hits the scrren.

    You can use a percentage. [ajax_load_more scroll_distance="-50%"]

    Thread Starter said303

    (@said303)

    I changed a scroll_distance to even bigger percentage value but I still see the loading icon. I would like to see that following article would be loaded right before I reach the end.

    Plugin Author Darren Cooney

    (@dcooney)

    I just tested on a post on your site.

    The loading is being triggered at the 50% mark of scrolling. If you’re still seeing a loading icon it means the content is still loading… I’m not able to fix that. Seems like the Ajax requests are taking 1.5seconds.

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