Hi Steven,
Sure. You’ll find a tutorial for adding support for Jetpack Infinite Scroll here: http://jetpack.me/support/infinite-scroll/
— Anders
I followed the directions to add the infinite scroll, but it does not seem to be working. This is what I added in an attempt to make it work:
function baskerville_setup() {
// Automatic feed
add_theme_support( 'automatic-feed-links' );
+
+ // infinite scroll
+ add_theme_support( 'infinite-scroll', array(
+ 'container' => 'content',
+ ) );
// Post thumbnails
add_theme_support( 'post-thumbnails' );
add_image_size( 'post-image', 945, 9999 );
add_image_size( 'post-thumbnail', 600, 9999 );
But it is not working on the main page (the masonry layout of posts). When I have set this up on other themes, adding this code caused the nav at the bottom of the posts (Older/Newer posts) disappears, but that doesnt seem to be happening (as well as jetpack infinite scroll not working)
Does Baskerville use a different way of rendering these post items that i need to plug into the “render” parameter of the infinite scroll feature?