This repository has been archived on 2020-05-08. You can view files and clone it, but cannot push or open issues or pull requests.
2013-02-03 07:03:40 +00:00
|
|
|
<?php
|
|
|
|
/**
|
2013-02-03 07:12:42 +00:00
|
|
|
* Jetpack Compatibility File
|
|
|
|
* See: http://jetpack.me/
|
2013-02-03 07:03:40 +00:00
|
|
|
*
|
2013-02-03 07:12:42 +00:00
|
|
|
* @package: _s
|
2013-02-03 07:03:40 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Add theme support for Infinite Scroll.
|
2013-02-03 07:12:42 +00:00
|
|
|
* See: http://jetpack.me/support/infinite-scroll/
|
2013-02-03 07:03:40 +00:00
|
|
|
*/
|
2013-02-03 07:12:42 +00:00
|
|
|
function _s_infinite_scroll_setup() {
|
2013-02-03 07:03:40 +00:00
|
|
|
add_theme_support( 'infinite-scroll', array(
|
|
|
|
'container' => 'content',
|
|
|
|
'footer' => 'page',
|
|
|
|
) );
|
|
|
|
}
|
2013-02-03 07:12:42 +00:00
|
|
|
add_action( 'after_setup_theme', '_s_infinite_scroll_setup' );
|