skt_white_jetpack_setup

Add theme support for Infinite Scroll.

Description

skt_white_jetpack_setup(); 

See: http://jetpack.me/support/infinite-scroll/


Usage

  1. if ( !function_exists( 'skt_white_jetpack_setup' ) ) { 
  2. require_once '/inc/jetpack.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = skt_white_jetpack_setup(); 
  7.  

Defined (1)

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

/inc/jetpack.php  
  1. function skt_white_jetpack_setup() { 
  2. add_theme_support( 'infinite-scroll', array( 
  3. 'container' => 'main',  
  4. 'footer' => 'page',  
  5. ) );