This commit is contained in:
parent
c2dca5db27
commit
16906d44c5
3 changed files with 38 additions and 0 deletions
18
inc/jetpack.php
Normal file
18
inc/jetpack.php
Normal file
|
@ -0,0 +1,18 @@
|
|||
<?php
|
||||
/**
|
||||
* Infinite Scroll Support
|
||||
* See: http://jetpack.me/support/infinite-scroll/
|
||||
*
|
||||
* Theme Name: _s
|
||||
*/
|
||||
|
||||
/**
|
||||
* Add theme support for Infinite Scroll.
|
||||
*/
|
||||
function _s_infinite_scroll_init() {
|
||||
add_theme_support( 'infinite-scroll', array(
|
||||
'container' => 'content',
|
||||
'footer' => 'page',
|
||||
) );
|
||||
}
|
||||
add_action( 'after_setup_theme', '_s_infinite_scroll_init' );
|
Loading…
Add table
Add a link
Reference in a new issue