- Timestamp:
- 10/21/2013 04:34:56 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentyfourteen/functions.php
r25814 r25856 119 119 120 120 /** 121 * Adjust content_width value for full-width and attachment templates.121 * Adjust content_width value for image attachment template. 122 122 * 123 123 * @since Twenty Fourteen 1.0 … … 126 126 */ 127 127 function twentyfourteen_content_width() { 128 if ( is_attachment() )128 if ( is_attachment() && wp_attachment_is_image() ) 129 129 $GLOBALS['content_width'] = 810; 130 130 }
Note: See TracChangeset
for help on using the changeset viewer.