• Resolved arabel

    (@arabel)


    Hi! I’m trying to implement Jetpack’s Infinite Scroll on this website: http://www.arakoma.com/doppeltangent/

    I’ve added the following to my functions.php file, but I feel like perhaps I’m tripping up on the correct ‘render’ and possibly ‘container’ settings.

    Any help would be greatly appreciated, I’m new to this and a bit out of my depth! Thanks so much for your time.

    /**
    * Add support for JetPack infinite scroll
    **/

    function bridge_infinite_scroll_render() {
    get_template_part( ‘blog-large-image’ );
    }

    add_theme_support( ‘infinite-scroll’, array(
    ‘container’ => ‘blog_holder.blog_large_image’,
    ‘type’ => ‘click’,
    ‘render’ => ‘bridge_infinite_scroll_render’,
    ‘footer’ => ‘page’
    )
    );

    https://ww.wp.xz.cn/plugins/jetpack/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi!

    I am having the same issue. Did you manage to resolve it?

    Plugin Author Brandon Kraft

    (@kraftbj)

    Code Wrangler

    Hi arabel,

    It looks like your site is pulling new posts (seeing the URL change to page 2, 3, etc). Were you able to determine the right settings for your theme?

    Cheers!

    Thread Starter arabel

    (@arabel)

    I couldn’t for the life of me get it to work with the Bridge theme, so I ended up changing my theme, sorry! I think was too heavily customised for me to change easily with my level of WordPress knowledge. 🙂

    The plugin works perfectly with the new theme though, so thanks!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Infinite Scroll with custom theme Bridge’ is closed to new replies.