• Resolved mike.chiv

    (@mikechiv)


    Hi,

    Hopefully this will be a nice easy one for you! Here’s my shortcode: [ajax_load_more post_type="post" category="kitchens-and-interiors" scroll_distance="400" transition_speed="200" images_loaded="true"] and here’s my repeater template:

    <li class="col-xs-12 text-center">
    <h2><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2>
    	<?php if( has_post_thumbnail() ){ ?>
    	<a href="<?php the_permalink(); ?>"><?php the_post_thumbnail('medium'); } ?></a>
    	<?php the_excerpt(); ?>
    	<p class="blog-post-date"><?php the_date('jS F Y'); ?> by <?php the_author(); ?>
    	<hr>
    </li>

    I want new posts to load on scroll, but instead I’m getting the “Older Posts” button. I have tried a few other shortcode parameters, but no luck.

    Anything I’m missing?

    Mike

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

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

    (@dcooney)

    So you don’t want the Older Posts button?
    Did you set the loading style on the settings screen?

    You might have a position issue if scroll=”true” and posts are not loading.

    Can you share a link?

    Thread Starter mike.chiv

    (@mikechiv)

    Well this is embarrassing…It randomly started working for no apparent reason. I literally changed nothing to do with the plugin! I added some padding to the page footer…maybe that was the solution..? Can’t see why, but whatever; it’s working now. Thanks for getting back to me anyway!

    Plugin Author Darren Cooney

    (@dcooney)

    It’s possible the button never made it to the scroll_distance setting.

    Anyways, thanks for following up!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Getting load more button when scrolling should be set’ is closed to new replies.