From a29f4497a8b00442923b1f0bde734f36e38d9ce2 Mon Sep 17 00:00:00 2001 From: Thomas Guillot Date: Tue, 13 Oct 2015 12:39:42 +0200 Subject: [PATCH] Add theme support for Responsive Videos. --- inc/jetpack.php | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/inc/jetpack.php b/inc/jetpack.php index 90928ccc..268d9d5b 100644 --- a/inc/jetpack.php +++ b/inc/jetpack.php @@ -7,16 +7,22 @@ * @package _s */ -/** - * Add theme support for Infinite Scroll. - * See: https://jetpack.me/support/infinite-scroll/ - */ function _s_jetpack_setup() { + /** + * Add theme support for Infinite Scroll. + * See: https://jetpack.me/support/infinite-scroll/ + */ add_theme_support( 'infinite-scroll', array( 'container' => 'main', 'render' => '_s_infinite_scroll_render', 'footer' => 'page', ) ); + + /** + * Add theme support for Responsive Videos. + * See: https://jetpack.me/support/responsive-videos/ + */ + add_theme_support( 'jetpack-responsive-videos' ); } // end function _s_jetpack_setup add_action( 'after_setup_theme', '_s_jetpack_setup' );