Changeset 25746 for trunk/src/wp-content/themes/twentyeleven/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/twentyeleven/functions.php
r25625 r25746 39 39 */ 40 40 41 /** 42 * Set the content width based on the theme's design and stylesheet. 43 */ 41 // Set the content width based on the theme's design and stylesheet. 44 42 if ( ! isset( $content_width ) ) 45 43 $content_width = 584; 46 44 47 /* *45 /* 48 46 * Tell WordPress to run twentyeleven_setup() when the 'after_setup_theme' hook is run. 49 47 */ … … 73 71 function twentyeleven_setup() { 74 72 75 /* *73 /* 76 74 * Make Twenty Eleven available for translation. 77 75 * Translations can be added to the /languages/ directory. … … 108 106 // Add support for custom backgrounds. 109 107 add_theme_support( 'custom-background', array( 110 /* *108 /* 111 109 * Let WordPress know what our default background color is. 112 110 * This is dependent on our current color scheme. … … 163 161 } 164 162 165 /* *163 /* 166 164 * We'll be using post thumbnails for custom header images on posts and pages. 167 165 * We want them to be the size of the header image that we just defined. … … 170 168 set_post_thumbnail_size( $custom_header_support['width'], $custom_header_support['height'], true ); 171 169 172 /* *170 /* 173 171 * Add Twenty Eleven's custom image sizes. 174 172 * Used for large feature (header) images.
Note: See TracChangeset
for help on using the changeset viewer.