forked from mirror/_s
Update PHP Documentation
This commit is contained in:
parent
a29f4497a8
commit
6f39c5ecf8
|
@ -7,21 +7,21 @@
|
|||
* @package _s
|
||||
*/
|
||||
|
||||
function _s_jetpack_setup() {
|
||||
/**
|
||||
* 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.
|
||||
* See: https://jetpack.me/support/responsive-videos/
|
||||
*/
|
||||
// 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' );
|
||||
|
|
Reference in New Issue