Make WordPress Core


Ignore:
Timestamp:
06/25/2013 10:03:42 PM (12 years ago)
Author:
lancewillett
Message:

Twenty Thirteen: enqueue Genericons CSS from its own file, to allow for easier updates and maintenance, and to allow for better plugin overrides. Props obenland, closes #24595.

File:
1 edited

Legend:

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

    r24514 r24516  
    169169    if ( ! empty( $fonts_url ) )
    170170        wp_enqueue_style( 'twentythirteen-fonts', esc_url_raw( $fonts_url ), array(), null );
     171
     172    wp_enqueue_style( 'genericons', get_template_directory_uri() . '/fonts/genericons.css', array(), '2.09' );
    171173}
    172174add_action( 'wp_enqueue_scripts', 'twentythirteen_fonts' );
Note: See TracChangeset for help on using the changeset viewer.