forked from mirror/_s
_s: Let's not limit the setup function to IS.
This commit is contained in:
parent
c1960ec122
commit
c7bf07061d
|
@ -10,10 +10,10 @@
|
|||
* Add theme support for Infinite Scroll.
|
||||
* See: http://jetpack.me/support/infinite-scroll/
|
||||
*/
|
||||
function _s_infinite_scroll_setup() {
|
||||
function _s_jetpack_setup() {
|
||||
add_theme_support( 'infinite-scroll', array(
|
||||
'container' => 'content',
|
||||
'footer' => 'page',
|
||||
) );
|
||||
}
|
||||
add_action( 'after_setup_theme', '_s_infinite_scroll_setup' );
|
||||
add_action( 'after_setup_theme', '_s_jetpack_setup' );
|
||||
|
|
Reference in New Issue