Ticket #24898: 24898.patch
File 24898.patch, 760 bytes (added by , 12 years ago) |
---|
-
wp-content/themes/twentyfourteen/functions.php
13 13 if ( ! isset( $content_width ) ) 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' ) ) : 24 24 /**