Ticket #25925: 25925.diff
File 25925.diff, 1.2 KB (added by , 11 years ago) |
---|
-
wp-content/themes/twentyfourteen/inc/template-tags.php
173 173 174 174 <div class="post-thumbnail"> 175 175 <?php 176 if ( is_active_sidebar( 'sidebar-2' ) || wp_is_mobile() ) 176 if ( ( ! is_active_sidebar( 'sidebar-2' ) || is_page_template( 'full-width-page.php' ) ) && ! wp_is_mobile() ) 177 the_post_thumbnail( 'post-thumbnail-full-width' ); 178 else 177 179 the_post_thumbnail( 'post-thumbnail' ); 178 else179 the_post_thumbnail( 'post-thumbnail-full-width' );180 180 ?> 181 181 </div> 182 182 … … 184 184 185 185 <a class="post-thumbnail" href="<?php the_permalink(); ?>" rel="<?php the_ID(); ?>"> 186 186 <?php 187 if ( is_active_sidebar( 'sidebar-2' ) || wp_is_mobile() ) 187 if ( ( ! is_active_sidebar( 'sidebar-2' ) || is_page_template( 'full-width-page.php' ) ) && ! wp_is_mobile() ) 188 the_post_thumbnail( 'post-thumbnail-full-width' ); 189 else 188 190 the_post_thumbnail( 'post-thumbnail' ); 189 else190 the_post_thumbnail( 'post-thumbnail-full-width' );191 191 ?> 192 192 </a> 193 193