Created
January 13, 2016 21:58
-
-
Save mikemcalister/3f832345f72aadee2cbf to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function theme_infinite_scroll_setup() { | |
add_theme_support( 'infinite-scroll', array( | |
'container' => 'content', | |
'footer' => 'page', | |
'posts_per_page' => 10, | |
) ); | |
} | |
add_action( 'after_setup_theme', 'theme_infinite_scroll_setup' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment