_s: Let's not limit the setup function to IS.

This commit is contained in:
obenland 2013-05-20 13:02:30 +02:00
parent c1960ec122
commit c7bf07061d
1 changed files with 2 additions and 2 deletions

View File

@ -10,10 +10,10 @@
* Add theme support for Infinite Scroll. * Add theme support for Infinite Scroll.
* See: http://jetpack.me/support/infinite-scroll/ * See: http://jetpack.me/support/infinite-scroll/
*/ */
function _s_infinite_scroll_setup() { function _s_jetpack_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_setup' ); add_action( 'after_setup_theme', '_s_jetpack_setup' );