diff --git a/inc/jetpack.php b/inc/jetpack.php index 90928ccc..0d1b5b5a 100644 --- a/inc/jetpack.php +++ b/inc/jetpack.php @@ -8,15 +8,21 @@ */ /** - * Add theme support for Infinite Scroll. + * Jetpack setup function. + * * See: https://jetpack.me/support/infinite-scroll/ + * See: https://jetpack.me/support/responsive-videos/ */ function _s_jetpack_setup() { + // Add theme support for Infinite Scroll. add_theme_support( 'infinite-scroll', array( 'container' => 'main', 'render' => '_s_infinite_scroll_render', 'footer' => 'page', ) ); + + // Add theme support for Responsive Videos. + add_theme_support( 'jetpack-responsive-videos' ); } // end function _s_jetpack_setup add_action( 'after_setup_theme', '_s_jetpack_setup' );