twenty_ten_infinite_scroll_init

Add theme support for infinity scroll.

Description

twenty_ten_infinite_scroll_init(); 

Usage

  1. if ( !function_exists( 'twenty_ten_infinite_scroll_init' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'jetpack-by-wordpress-com/modules/infinite-scroll/themes/twentyten.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = twenty_ten_infinite_scroll_init(); 
  7.  

Defined (1)

The function is defined in the following location(s).

/modules/infinite-scroll/themes/twentyten.php  
  1. function twenty_ten_infinite_scroll_init() { 
  2. add_theme_support( 'infinite-scroll', array( 
  3. 'container' => 'content',  
  4. 'footer' => 'wrapper',  
  5. ) );