Ticket #39272: 39272.1.patch
File 39272.1.patch, 1.9 KB (added by , 8 years ago) |
---|
-
src/wp-content/themes/twentyseventeen/front-page.php
12 12 * @version 1.0 13 13 */ 14 14 15 if ( 'one-column' === get_theme_mod( 'page_layout' ) && isset( $GLOBALS['content_width'] ) ) { 16 $GLOBALS['content_width'] = 644; 17 } 18 15 19 get_header(); ?> 16 20 17 21 <div id="primary" class="content-area"> -
src/wp-content/themes/twentyseventeen/functions.php
199 199 */ 200 200 function twentyseventeen_content_width() { 201 201 202 $content_width = 700;202 $content_width = 525; 203 203 204 if ( twentyseventeen_is_frontpage() ) {205 $content_width = 1120;206 }207 208 204 /** 209 205 * Filter Twenty Seventeen content width of the theme. 210 206 * -
src/wp-content/themes/twentyseventeen/page.php
15 15 * @version 1.0 16 16 */ 17 17 18 if ( 'one-column' === get_theme_mod( 'page_layout' ) && isset( $GLOBALS['content_width'] ) ) { 19 $GLOBALS['content_width'] = 740; 20 } 21 18 22 get_header(); ?> 19 23 20 24 <div class="wrap"> -
src/wp-content/themes/twentyseventeen/single.php
10 10 * @version 1.0 11 11 */ 12 12 13 if ( ! is_active_sidebar( 'sidebar-1' ) && isset( $GLOBALS['content_width'] ) ) { 14 $GLOBALS['content_width'] = 740; 15 } 16 13 17 get_header(); ?> 14 18 15 19 <div class="wrap">