Make WordPress Core


Ignore:
Timestamp:
11/12/2013 07:02:09 PM (13 years ago)
Author:
lancewillett
Message:

Twenty Fourteen: move page templates into their own directory. See #25929.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentyfourteen/inc/template-tags.php

    r26098 r26105  
    174174        <div class="post-thumbnail">
    175175        <?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() )
    177177                        the_post_thumbnail( 'post-thumbnail-full-width' );
    178178                else
    … …  
    185185        <a class="post-thumbnail" href="<?php the_permalink(); ?>" rel="<?php the_ID(); ?>">
    186186        <?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() )
    188188                        the_post_thumbnail( 'post-thumbnail-full-width' );
    189189                else
Note: See TracChangeset for help on using the changeset viewer.