jetpack_twentyseventeen_infinite_scroll_enqueue_styles

Enqueue CSS stylesheet with theme styles for Infinite Scroll.

Description

jetpack_twentyseventeen_infinite_scroll_enqueue_styles(); 

Usage

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

Defined (1)

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

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