twentyfifteen_infinite_scroll_init

Add theme support for infinite scroll.

Description

twentyfifteen_infinite_scroll_init(); 

Usage

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

Defined (1)

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

/modules/infinite-scroll/themes/twentyfifteen.php  
  1. function twentyfifteen_infinite_scroll_init() { 
  2. add_theme_support( 'infinite-scroll', array( 
  3. 'container' => 'main',  
  4. 'footer' => 'page',  
  5. ) );