From a798664b3595f89d5c73abbfb3da3390fa380b97 Mon Sep 17 00:00:00 2001 From: Lance Willett Date: Fri, 15 Nov 2013 19:01:00 +0000 Subject: [PATCH] Twenty Fourteen: remove `main-content` element where not necessary, props iamtakashi. See #25946. git-svn-id: https://develop.svn.wordpress.org/trunk@26217 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-content/themes/twentyfourteen/404.php | 5 ++--- src/wp-content/themes/twentyfourteen/archive.php | 4 +--- src/wp-content/themes/twentyfourteen/category.php | 4 +--- src/wp-content/themes/twentyfourteen/functions.php | 4 +++- src/wp-content/themes/twentyfourteen/image.php | 2 -- src/wp-content/themes/twentyfourteen/search.php | 4 +--- src/wp-content/themes/twentyfourteen/single.php | 4 +--- src/wp-content/themes/twentyfourteen/tag.php | 4 +--- .../themes/twentyfourteen/taxonomy-post_format.php | 4 +--- 9 files changed, 11 insertions(+), 24 deletions(-) diff --git a/src/wp-content/themes/twentyfourteen/404.php b/src/wp-content/themes/twentyfourteen/404.php index 7aedf99d4c..ed6e4fd137 100644 --- a/src/wp-content/themes/twentyfourteen/404.php +++ b/src/wp-content/themes/twentyfourteen/404.php @@ -9,7 +9,7 @@ get_header(); ?> -
+
@@ -25,9 +25,8 @@ get_header(); ?>
- -
-
@@ -60,9 +59,8 @@ get_header(); ?> ?>
- -
-
@@ -44,9 +43,8 @@ get_header(); ?> ?>
- -
add_data( 'twentyfourteen-ie', 'conditional', 'lt IE 9' ); if ( is_singular() && comments_open() && get_option( 'thread_comments' ) ) wp_enqueue_script( 'comment-reply' ); diff --git a/src/wp-content/themes/twentyfourteen/image.php b/src/wp-content/themes/twentyfourteen/image.php index 5bb5b7bd9f..96f278ecd8 100644 --- a/src/wp-content/themes/twentyfourteen/image.php +++ b/src/wp-content/themes/twentyfourteen/image.php @@ -12,7 +12,6 @@ $metadata = wp_get_attachment_metadata(); get_header(); ?> -
@@ -85,7 +84,6 @@ get_header();
-
-
@@ -35,10 +34,9 @@ get_header(); ?>
- -
-
?>
- -
-
@@ -46,9 +45,8 @@ get_header(); ?> ?>
- -
-
@@ -68,9 +67,8 @@ get_header(); ?> ?>
- -