From dc242fbc80e8a47f03427d22a07f240084c1e442 Mon Sep 17 00:00:00 2001 From: Lance Willett Date: Tue, 12 Nov 2013 19:02:09 +0000 Subject: [PATCH] Twenty Fourteen: move page templates into their own directory. See #25929. git-svn-id: https://develop.svn.wordpress.org/trunk@26105 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-content/themes/twentyfourteen/functions.php | 4 ++-- src/wp-content/themes/twentyfourteen/inc/template-tags.php | 4 ++-- .../{contributor-page.php => page-templates/contributors.php} | 0 .../{full-width-page.php => page-templates/full-width.php} | 0 4 files changed, 4 insertions(+), 4 deletions(-) rename src/wp-content/themes/twentyfourteen/{contributor-page.php => page-templates/contributors.php} (100%) rename src/wp-content/themes/twentyfourteen/{full-width-page.php => page-templates/full-width.php} (100%) diff --git a/src/wp-content/themes/twentyfourteen/functions.php b/src/wp-content/themes/twentyfourteen/functions.php index 9a21cd2d6a..5b8c6c4026 100644 --- a/src/wp-content/themes/twentyfourteen/functions.php +++ b/src/wp-content/themes/twentyfourteen/functions.php @@ -391,8 +391,8 @@ function twentyfourteen_body_classes( $classes ) { $classes[] = 'list-view'; if ( ( ! is_active_sidebar( 'sidebar-2' ) ) - || is_page_template( 'full-width-page.php' ) - || is_page_template( 'contributor-page.php' ) + || is_page_template( 'page-templates/full-width.php' ) + || is_page_template( 'page-templates/contributors.php' ) || is_attachment() ) $classes[] = 'full-width'; diff --git a/src/wp-content/themes/twentyfourteen/inc/template-tags.php b/src/wp-content/themes/twentyfourteen/inc/template-tags.php index 624c080c7c..e93b927dab 100644 --- a/src/wp-content/themes/twentyfourteen/inc/template-tags.php +++ b/src/wp-content/themes/twentyfourteen/inc/template-tags.php @@ -173,7 +173,7 @@ function twentyfourteen_post_thumbnail() {
" rel="">