twentysixteen_infinite_scroll_enqueue_styles

Enqueue CSS stylesheet with theme styles for Infinite Scroll.

Description

twentysixteen_infinite_scroll_enqueue_styles(); 

Usage

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

Defined (1)

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

/modules/infinite-scroll/themes/twentysixteen.php  
  1. function twentysixteen_infinite_scroll_enqueue_styles() { 
  2. if ( wp_script_is( 'the-neverending-homepage' ) ) { 
  3. wp_enqueue_style( 'infinity-twentysixteen', plugins_url( 'twentysixteen.css', __FILE__ ), array( 'the-neverending-homepage' ), '20151102' ); 
  4. wp_style_add_data( 'infinity-twentysixteen', 'rtl', 'replace' );