_s: Minor adjustments to Infinite Scroll's implementation.

This commit is contained in:
Philip Arthur Moore 2013-02-03 02:12:42 -05:00
parent 16906d44c5
commit c06b9fe571
1 changed files with 6 additions and 5 deletions

View File

@ -1,18 +1,19 @@
<?php
/**
* Infinite Scroll Support
* See: http://jetpack.me/support/infinite-scroll/
* Jetpack Compatibility File
* See: http://jetpack.me/
*
* Theme Name: _s
* @package: _s
*/
/**
* 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(
'container' => 'content',
'footer' => 'page',
) );
}
add_action( 'after_setup_theme', '_s_infinite_scroll_init' );
add_action( 'after_setup_theme', '_s_infinite_scroll_setup' );