Changeset 22201 for trunk/wp-content/themes/twentytwelve/functions.php
- Timestamp:
- 10/11/2012 10:07:06 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-content/themes/twentytwelve/functions.php
r22066 r22201 89 89 */ 90 90 function twentytwelve_scripts_styles() { 91 global $wp_styles; 92 91 93 /* 92 94 * Adds JavaScript to pages with the comment form to support … … 142 144 */ 143 145 wp_enqueue_style( 'twentytwelve-style', get_stylesheet_uri() ); 146 147 /* 148 * Loads the Internet Explorer specific stylesheet. 149 */ 150 wp_enqueue_style( 'twentytwelve-ie', get_template_directory_uri() . '/css/ie.css', array( 'twentytwelve-style' ), '20121010' ); 151 $wp_styles->add_data( 'twentytwelve-ie', 'conditional', 'lt IE 9' ); 144 152 } 145 153 add_action( 'wp_enqueue_scripts', 'twentytwelve_scripts_styles' );
Note: See TracChangeset
for help on using the changeset viewer.