• HI I am using latest versione of the plugIn asof today: Version 2.8.4

    This is the shortcode I am using:

    [ajax_load_more preloaded="true" preloaded_amount="10" posts_per_page="9" scroll="false" pause="false" post_type="page" cache="true" cache_id="6070627837" category="commercial" button_label="More works" ]

    the only way to load new posts is by clicking the button while I would like to auto load new posts on scroll

    https://www.ads-software.com/plugins/ajax-load-more/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Anonymous User 7276204

    (@anonymized-7276204)

    I have this problem too… the button is there, but it’s not loading new posts automatically. I have to click it…

    Plugin Author Darren Cooney

    (@dcooney)

    I’d need to see links to help troubleshoot.
    The issue is likely the position of the load more button.

    Anonymous User 7276204

    (@anonymized-7276204)

    blog.momav.me

    The code for my index.php:

    <?php get_header(); ?>
    
    <main>
    
    <?php echo do_shortcode('[ajax_load_more post_type="post" posts_per_page="4" max_pages="0" transition="fade" button_label="Scroll to load..." 	button_loading_label="Loading posts..."]');?>
    
    <?php get_footer(); ?>
    Plugin Author Darren Cooney

    (@dcooney)

    Your issue is the scroll distance is set to 150 and the button never makes it further than 150px from the bottom of the screen.

    try this.
    <?php echo do_shortcode('[ajax_load_more post_type="post" posts_per_page="4" max_pages="0" transition="fade" scroll_distance="10" button_label="Scroll to load..." button_loading_label="Loading posts..."]');?>

    Anonymous User 7276204

    (@anonymized-7276204)

    Ah I completely forgot about the scroll-distance… Thanks! That fixed it.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Posts are not loaded automatically when scrolling’ is closed to new replies.