forked from mirror/_s
Add theme support for Responsive Videos.
This commit is contained in:
parent
f6ddaaa21e
commit
a29f4497a8
|
@ -7,16 +7,22 @@
|
|||
* @package _s
|
||||
*/
|
||||
|
||||
/**
|
||||
function _s_jetpack_setup() {
|
||||
/**
|
||||
* Add theme support for Infinite Scroll.
|
||||
* See: https://jetpack.me/support/infinite-scroll/
|
||||
*/
|
||||
function _s_jetpack_setup() {
|
||||
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' );
|
||||
|
||||
|
|
Reference in New Issue