forked from mirror/_s
Update PHP Documentation
This commit is contained in:
parent
a29f4497a8
commit
6f39c5ecf8
|
@ -7,21 +7,21 @@
|
||||||
* @package _s
|
* @package _s
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Jetpack setup function.
|
||||||
|
*
|
||||||
|
* See: https://jetpack.me/support/infinite-scroll/
|
||||||
|
* See: https://jetpack.me/support/responsive-videos/
|
||||||
|
*/
|
||||||
function _s_jetpack_setup() {
|
function _s_jetpack_setup() {
|
||||||
/**
|
// Add theme support for Infinite Scroll.
|
||||||
* Add theme support for Infinite Scroll.
|
|
||||||
* See: https://jetpack.me/support/infinite-scroll/
|
|
||||||
*/
|
|
||||||
add_theme_support( 'infinite-scroll', array(
|
add_theme_support( 'infinite-scroll', array(
|
||||||
'container' => 'main',
|
'container' => 'main',
|
||||||
'render' => '_s_infinite_scroll_render',
|
'render' => '_s_infinite_scroll_render',
|
||||||
'footer' => 'page',
|
'footer' => 'page',
|
||||||
) );
|
) );
|
||||||
|
|
||||||
/**
|
// Add theme support for Responsive Videos.
|
||||||
* Add theme support for Responsive Videos.
|
|
||||||
* See: https://jetpack.me/support/responsive-videos/
|
|
||||||
*/
|
|
||||||
add_theme_support( 'jetpack-responsive-videos' );
|
add_theme_support( 'jetpack-responsive-videos' );
|
||||||
} // end function _s_jetpack_setup
|
} // end function _s_jetpack_setup
|
||||||
add_action( 'after_setup_theme', '_s_jetpack_setup' );
|
add_action( 'after_setup_theme', '_s_jetpack_setup' );
|
||||||
|
|
Reference in New Issue