twentysixteen_infinite_scroll_init

Add theme support for infinite scroll.

Description

twentysixteen_infinite_scroll_init(); 

Usage

  1. if ( !function_exists( 'twentysixteen_infinite_scroll_init' ) ) { 
  2. require_once '/modules/infinite-scroll/themes/twentysixteen.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = twentysixteen_infinite_scroll_init(); 
  7.  

Defined (1)

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

/modules/infinite-scroll/themes/twentysixteen.php  
  1. function twentysixteen_infinite_scroll_init() { 
  2. add_theme_support( 'infinite-scroll', array( 
  3. 'container' => 'main',  
  4. 'render' => 'twentysixteen_infinite_scroll_render',  
  5. 'footer' => 'content',  
  6. ) );