twentyfifteen_infinite_scroll_enqueue_styles

Enqueue CSS stylesheet with theme styles for Infinite Scroll.

Description

twentyfifteen_infinite_scroll_enqueue_styles(); 

Usage

  1. if ( !function_exists( 'twentyfifteen_infinite_scroll_enqueue_styles' ) ) { 
  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_enqueue_styles(); 
  7.  

Defined (1)

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

/modules/infinite-scroll/themes/twentyfifteen.php  
  1. function twentyfifteen_infinite_scroll_enqueue_styles() { 
  2. wp_enqueue_style( 'infinity-twentyfifteen', plugins_url( 'twentyfifteen.css', __FILE__ ), array( 'the-neverending-homepage' ), '20141022' ); 
  3. wp_style_add_data( 'infinity-twentyfifteen', 'rtl', 'replace' );