Viewing 2 replies - 1 through 2 (of 2 total)
  • Theme Author Anders Norén

    (@anlino)

    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?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘INfinite Scroll for Baskerville?’ is closed to new replies.