jetpack_twentyseventeen_infinite_scroll_init

Add theme support for infinite scroll.

Description

jetpack_twentyseventeen_infinite_scroll_init(); 

Usage

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

Defined (1)

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

/modules/infinite-scroll/themes/twentyseventeen.php  
  1. function jetpack_twentyseventeen_infinite_scroll_init() { 
  2. add_theme_support( 'infinite-scroll', array( 
  3. 'container' => 'main',  
  4. 'render' => 'jetpack_twentyseventeen_infinite_scroll_render',  
  5. 'footer' => 'content',  
  6. 'footer_widgets' => jetpack_twentyseventeen_has_footer_widgets(),  
  7. ) );