Make WordPress Core


Ignore:
Timestamp:
08/20/2013 06:09:51 PM (13 years ago)
Author:
lancewillett
Message:

Twenty Fourteen: load Genericons correctly, and add comments to other CSS enqueue calls. Props obenland, fixes #25085.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentyfourteen/functions.php

    r25065 r25068  
    172172 */
    173173function twentyfourteen_scripts() {
     174
     175    // Add Lato font, used in the main stylesheet.
     176    wp_enqueue_style( 'twentyfourteen-lato' );
     177
     178    // Add Genericons font, used in the main stylesheet.
     179    wp_enqueue_style( 'genericons', get_template_directory_uri() . '/fonts/genericons.css', array(), '2.09' );
     180
     181    // Loads our main stylesheet.
    174182    wp_enqueue_style( 'twentyfourteen-style', get_stylesheet_uri() );
    175 
    176     wp_enqueue_style( 'twentyfourteen-lato' );
    177183
    178184    if ( is_singular() && comments_open() && get_option( 'thread_comments' ) )
Note: See TracChangeset for help on using the changeset viewer.