'main', 'footer' => 'main', 'render' => 'isola_infinite_scroll_render', ) ); add_theme_support( 'jetpack-responsive-videos' ); } add_action( 'after_setup_theme', 'isola_jetpack_setup' ); /** * Custom render function for Infinite Scroll. */ function isola_infinite_scroll_render() { while ( have_posts() ) { the_post(); if ( is_search() ) { get_template_part( 'content', 'search' ); } else { get_template_part( 'content', get_post_format() ); } } }