twentythirteen_infinite_scroll_init

Add theme support for infinite scroll.

Description

twentythirteen_infinite_scroll_init(); 

Usage

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

Defined (1)

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

/modules/infinite-scroll/themes/twentythirteen.php  
  1. function twentythirteen_infinite_scroll_init() { 
  2. add_theme_support( 'infinite-scroll', array( 
  3. 'container' => 'content',  
  4. 'footer' => 'page',  
  5. 'footer_widgets' => array( 'sidebar-1' ) 
  6. ) );