Changeset 24990 for trunk/wp-content/themes/twentyfourteen/functions.php
- Timestamp:
- 08/06/2013 09:45:29 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-content/themes/twentyfourteen/functions.php
r24832 r24990 14 14 $content_width = 474; /* pixels */ 15 15 16 function futher_set_content_width() {16 function twentyfourteen_set_content_width() { 17 17 global $content_width; 18 18 if ( is_page_template( 'full-width-page.php' ) || is_attachment() ) 19 19 $content_width = 895; 20 20 } 21 add_action( 'template_redirect', ' futher_set_content_width' );21 add_action( 'template_redirect', 'twentyfourteen_set_content_width' ); 22 22 23 23 if ( ! function_exists( 'twentyfourteen_setup' ) ) :
Note: See TracChangeset
for help on using the changeset viewer.