• I have installed the Infinite-Scroll plugin and tweaked my site code in line with the instructions to get it working. It works fine with ‘Behaviour’ set to ‘Default’, i.e. when I scroll to the bottom of the home page the next posts load automatically.

    I want to set the ‘Behaviour’ to ‘Manual Trigger’, so that new posts are added when a user clicks. However when I do this an scroll to the bottom of the home page, nothing happens.

    Why might it not be working?

    My Infinite-Scroll settings are as follows:

    Content selector: #content
    Navigation selector: #nav-below
    Next selector: #nav-below a:first
    Item selector: .post

    And my code structure is as follows:

    <?php while (have_posts()) : the_post(); ?>
    
    <?php do_action( 'bp_before_blog_post' ) ?>
    
    	<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
    
    	<div class="post-content">
    
    	<!-- Post content goes here -->
    
    	</div>
    
    	</div>
    
    <?php endwhile; ?>
    
    <?php do_action( 'bp_after_blog_post' ) ?>
    
    <?php bp_dtheme_content_nav( 'nav-below' ); ?>

    I’ve tried deactivating all the site’s themes except Buddypress, which it relies very heavily on.

    http://wordpress.org/plugins/infinite-scroll/

Viewing 1 replies (of 1 total)
  • Michael Beckwith

    (@tw2113)

    The BenchPresser

    curious if your “load more” link is not moving with the rest of the content. I ran into a similar case today where I had the link inside the div that the new content was getting appended to. Scrolled back up and re-found the “more” link, clicked it, and more content showed up below.

    Solution: move the trigger link outside of the container you’re appending to.

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Infinite-Scroll] Manual trigger doesn't work’ is closed to new replies.