Changeset 25746 for trunk/src/wp-content/themes/twentytwelve/functions.php
- Timestamp:
- 10/09/2013 08:38:26 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentytwelve/functions.php
r25521 r25746 23 23 */ 24 24 25 /** 26 * Set up the content width value based on the theme's design and stylesheet. 27 */ 25 // Set up the content width value based on the theme's design and stylesheet. 28 26 if ( ! isset( $content_width ) ) 29 27 $content_width = 625; … … 45 43 */ 46 44 function twentytwelve_setup() { 47 /* *45 /* 48 46 * Makes Twenty Twelve available for translation. 49 47 * … … 66 64 register_nav_menu( 'primary', __( 'Primary Menu', 'twentytwelve' ) ); 67 65 68 /* *66 /* 69 67 * This theme supports custom background color and image, 70 68 * and here we also set up the default background color. … … 98 96 $font_url = ''; 99 97 100 /* *98 /* 101 99 * translators: If there are characters in your language that are not supported 102 100 * by Open Sans, translate this to 'off'. Do not translate into your own language. … … 105 103 $subsets = 'latin,latin-ext'; 106 104 107 /* *105 /* 108 106 * translators: To add an additional Open Sans character subset specific to your language, 109 107 * translate this to 'greek', 'cyrillic' or 'vietnamese'. Do not translate into your own language. … … 139 137 global $wp_styles; 140 138 141 /* *139 /* 142 140 * Adds JavaScript to pages with the comment form to support 143 141 * sites with threaded comments (when in use). … … 146 144 wp_enqueue_script( 'comment-reply' ); 147 145 148 /** 149 * Adds JavaScript for handling the navigation menu hide-and-show behavior. 150 */ 146 // Adds JavaScript for handling the navigation menu hide-and-show behavior. 151 147 wp_enqueue_script( 'twentytwelve-navigation', get_template_directory_uri() . '/js/navigation.js', array(), '1.0', true ); 152 148 … … 155 151 wp_enqueue_style( 'twentytwelve-fonts', esc_url_raw( $font_url ), array(), null ); 156 152 157 /** 158 * Loads our main stylesheet. 159 */ 153 // Loads our main stylesheet. 160 154 wp_enqueue_style( 'twentytwelve-style', get_stylesheet_uri() ); 161 155 162 /** 163 * Loads the Internet Explorer specific stylesheet. 164 */ 156 // Loads the Internet Explorer specific stylesheet. 165 157 wp_enqueue_style( 'twentytwelve-ie', get_template_directory_uri() . '/css/ie.css', array( 'twentytwelve-style' ), '20121010' ); 166 158 $wp_styles->add_data( 'twentytwelve-ie', 'conditional', 'lt IE 9' );
Note: See TracChangeset
for help on using the changeset viewer.