From 13b56f88807d533b18151b9d38cc7bf11ee6281e Mon Sep 17 00:00:00 2001 From: westi Date: Mon, 21 Nov 2011 16:20:49 +0000 Subject: [PATCH] TwentyEleven: Always call the loop properly in all template files rather than just calling the_post(). Fixes #18794 props mfields. git-svn-id: http://svn.automattic.com/wordpress/trunk@19379 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-content/themes/twentyeleven/image.php | 94 ++++++++++--------- wp-content/themes/twentyeleven/page.php | 8 +- wp-content/themes/twentyeleven/showcase.php | 4 +- .../themes/twentyeleven/sidebar-page.php | 8 +- 4 files changed, 61 insertions(+), 53 deletions(-) diff --git a/wp-content/themes/twentyeleven/image.php b/wp-content/themes/twentyeleven/image.php index c6c8544b12..e772038789 100644 --- a/wp-content/themes/twentyeleven/image.php +++ b/wp-content/themes/twentyeleven/image.php @@ -12,40 +12,40 @@ get_header(); ?>
- + - + -
> -
-

+
> +
+

- + -
+
-
+
-
- +
-
- - '' ) ); ?> -
+
+ + '' ) ); ?> +
-
+
-
+ - + + +
diff --git a/wp-content/themes/twentyeleven/page.php b/wp-content/themes/twentyeleven/page.php index 3b96e52c9c..5dda4d164f 100644 --- a/wp-content/themes/twentyeleven/page.php +++ b/wp-content/themes/twentyeleven/page.php @@ -17,11 +17,13 @@ get_header(); ?>
- + - + - + + +
diff --git a/wp-content/themes/twentyeleven/showcase.php b/wp-content/themes/twentyeleven/showcase.php index 58e85e21f2..4f69099240 100644 --- a/wp-content/themes/twentyeleven/showcase.php +++ b/wp-content/themes/twentyeleven/showcase.php @@ -22,7 +22,7 @@ get_header(); ?>
- + get_template_part( 'content', 'intro' ); ?> + +
- + - + - + + +