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

    (@dcooney)

    Are you running the latest version?

    Thread Starter nicknack

    (@nicknack)

    Yes, 2.6.3.2

    Plugin Author Darren Cooney

    (@dcooney)

    I believe the issue is the new scroll_distance property.

    It’s set to 150px but because your footer is so thin the button never makes it 150 pixels from the bottom of the screen.

    If you change it to 30 or 40 I think that will solve the issue.

    Thread Starter nicknack

    (@nicknack)

    That’s exactly it, 75px did it in the end. Thanks for the very swift help.

    Hi there – thanks for the great plugin! I’m having the same issue as nicknack above, and I’ve tried numerous values for “scroll_distance” with no luck. The first set of posts loads automatically, but additional posts won’t load automatically without clicking the “Load More” button: https://metafields.staging.wpengine.com

    Shortcode in template:
    <?php echo do_shortcode( '[ajax_load_more post_type="music_entry" posts_per_page="8" max_pages="0" scroll_distance="30" offset="8" button_label="Load More"]' ) ?>

    Plugin Version: 2.6.3.2

    I have a WP_Query to call the first 8 posts of the custom post type “Music Entry” above the shortcode, but there’s no change when I remove that.

    I’ve used this plugin under simpler circumstances on a different site, and it loads the posts automatically as expected. Any thoughts on where I’m going wrong in this case? Thanks in advance for any help you can give.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Load more button’ is closed to new replies.