[Plugin: Infinite-Scroll] Manual trigger doesn't work
-
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: .postAnd 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.
- The topic ‘[Plugin: Infinite-Scroll] Manual trigger doesn't work’ is closed to new replies.