Changeset 26560
- Timestamp:
- 12/03/2013 05:27:57 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentyfourteen/functions.php
r26556 r26560 159 159 function twentyfourteen_has_featured_posts() { 160 160 /** This filter is documented in functions.php */ 161 return ! is_paged() && (bool) apply_filters( 'twentyfourteen_get_featured_posts', false);161 return ! is_paged() && (bool) twentyfourteen_get_featured_posts(); 162 162 } 163 163 … … 238 238 239 239 // Load our main stylesheet. 240 wp_enqueue_style( 'twentyfourteen-style', get_stylesheet_uri() );240 wp_enqueue_style( 'twentyfourteen-style', get_stylesheet_uri(), array( 'twentyfourteen-genericons' ) ); 241 241 242 242 // Load the Internet Explorer specific stylesheet. 243 wp_enqueue_style( 'twentyfourteen-ie', get_template_directory_uri() . '/css/ie.css', array( 'twentyfourteen-style' ), '20131110' );243 wp_enqueue_style( 'twentyfourteen-ie', get_template_directory_uri() . '/css/ie.css', array( 'twentyfourteen-style', 'twentyfourteen-genericons' ), '20131110' ); 244 244 wp_style_add_data( 'twentyfourteen-ie', 'conditional', 'lt IE 9' ); 245 245 … … 276 276 */ 277 277 function twentyfourteen_admin_fonts() { 278 wp_enqueue_style( 'twentyfourteen-lato' );278 wp_enqueue_style( 'twentyfourteen-lato', twentyfourteen_font_url(), array(), null ); 279 279 } 280 280 add_action( 'admin_print_scripts-appearance_page_custom-header', 'twentyfourteen_admin_fonts' );
Note: See TracChangeset
for help on using the changeset viewer.