Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Basic Infinite Scroll support #106

Closed
wants to merge 2 commits into from

1 participant

@ethitter
Owner

Adds the most basic support for Infinite Scroll, with a link to the support doc for users to expand on it.

Fixes #105.

@ethitter ethitter closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
Showing with 10 additions and 0 deletions.
  1. +10 −0 functions.php
View
10 functions.php
@@ -75,6 +75,16 @@ function _s_setup() {
* Add support for the Aside Post Formats
*/
add_theme_support( 'post-formats', array( 'aside', ) );
+
+ /**
+ * Register basic support for Infinite Scroll
+ *
+ * For more options, see http://jetpack.me/support/infinite-scroll/
+ */
+ add_theme_support( 'infinite-scroll', array(
+ 'container' => 'content',
+ 'footer' => 'page'
+ ) );
}
endif; // _s_setup
add_action( 'after_setup_theme', '_s_setup' );
Something went wrong with that request. Please try again.