Changeset 26105
- Timestamp:
- 11/12/2013 07:02:09 PM (12 years ago)
- Location:
- trunk/src/wp-content/themes/twentyfourteen
- Files:
-
- 1 added
- 2 edited
- 2 moved
-
functions.php (modified) (1 diff)
-
inc/template-tags.php (modified) (2 diffs)
-
page-templates (added)
-
page-templates/contributors.php (moved) (moved from trunk/src/wp-content/themes/twentyfourteen/contributor-page.php)
-
page-templates/full-width.php (moved) (moved from trunk/src/wp-content/themes/twentyfourteen/full-width-page.php)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentyfourteen/functions.php
r26104 r26105 392 392 393 393 if ( ( ! is_active_sidebar( 'sidebar-2' ) ) 394 || is_page_template( ' full-width-page.php' )395 || is_page_template( ' contributor-page.php' )394 || is_page_template( 'page-templates/full-width.php' ) 395 || is_page_template( 'page-templates/contributors.php' ) 396 396 || is_attachment() ) 397 397 $classes[] = 'full-width'; -
trunk/src/wp-content/themes/twentyfourteen/inc/template-tags.php
r26098 r26105 174 174 <div class="post-thumbnail"> 175 175 <?php 176 if ( ( ! is_active_sidebar( 'sidebar-2' ) || is_page_template( ' full-width-page.php' ) ) && ! wp_is_mobile() )176 if ( ( ! is_active_sidebar( 'sidebar-2' ) || is_page_template( 'page-templates/full-width.php' ) ) && ! wp_is_mobile() ) 177 177 the_post_thumbnail( 'post-thumbnail-full-width' ); 178 178 else … … 185 185 <a class="post-thumbnail" href="<?php the_permalink(); ?>" rel="<?php the_ID(); ?>"> 186 186 <?php 187 if ( ( ! is_active_sidebar( 'sidebar-2' ) || is_page_template( ' full-width-page.php' ) ) && ! wp_is_mobile() )187 if ( ( ! is_active_sidebar( 'sidebar-2' ) || is_page_template( 'page-templates/full-width.php' ) ) && ! wp_is_mobile() ) 188 188 the_post_thumbnail( 'post-thumbnail-full-width' ); 189 189 else
Note: See TracChangeset
for help on using the changeset viewer.