Make WordPress Core


Ignore:
Timestamp:
11/12/2013 04:17:07 AM (11 years ago)
Author:
lancewillett
Message:

Twenty Fourteen: first pass at older Internet Explorer browser support. Props iamtakashi, see #25036.

File:
1 edited

Legend:

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

    r26071 r26097  
    224224    wp_enqueue_style( 'genericons', get_template_directory_uri() . '/fonts/genericons.css', array(), '3.0.2' );
    225225
    226     // Loads our main stylesheet.
     226    // Load our main stylesheet.
    227227    wp_enqueue_style( 'twentyfourteen-style', get_stylesheet_uri() );
     228
     229    // Load the Internet Explorer specific stylesheet.
     230    wp_enqueue_style( 'twentyfourteen-ie', get_template_directory_uri() . '/ie.css', array( 'twentyfourteen-style' ), '20131110' );
     231    wp_style_add_data( 'twentyfourteen-ie', 'conditional', 'lt IE 9' );
    228232
    229233    if ( is_singular() && comments_open() && get_option( 'thread_comments' ) )
Note: See TracChangeset for help on using the changeset viewer.