forked from mirror/_s
_s: Minor adjustments to Infinite Scroll's implementation.
This commit is contained in:
parent
16906d44c5
commit
c06b9fe571
|
@ -1,18 +1,19 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* Infinite Scroll Support
|
* Jetpack Compatibility File
|
||||||
* See: http://jetpack.me/support/infinite-scroll/
|
* See: http://jetpack.me/
|
||||||
*
|
*
|
||||||
* Theme Name: _s
|
* @package: _s
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Add theme support for Infinite Scroll.
|
* Add theme support for Infinite Scroll.
|
||||||
|
* See: http://jetpack.me/support/infinite-scroll/
|
||||||
*/
|
*/
|
||||||
function _s_infinite_scroll_init() {
|
function _s_infinite_scroll_setup() {
|
||||||
add_theme_support( 'infinite-scroll', array(
|
add_theme_support( 'infinite-scroll', array(
|
||||||
'container' => 'content',
|
'container' => 'content',
|
||||||
'footer' => 'page',
|
'footer' => 'page',
|
||||||
) );
|
) );
|
||||||
}
|
}
|
||||||
add_action( 'after_setup_theme', '_s_infinite_scroll_init' );
|
add_action( 'after_setup_theme', '_s_infinite_scroll_setup' );
|
||||||
|
|
Reference in New Issue