Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save vishalbandre/a77b1a396aa170c5517d to your computer and use it in GitHub Desktop.
Save vishalbandre/a77b1a396aa170c5517d to your computer and use it in GitHub Desktop.
add_theme_support( 'infinite-scroll', array(
'type' => 'scroll',
'footer_widgets' => false,
'container' => 'content',
'wrapper' => true,
'render' => false,
'posts_per_page' => false,
));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment