From 7fe55a3443b3bc53dfeb7eea3eaa24dc11493c18 Mon Sep 17 00:00:00 2001 From: iandstewart Date: Thu, 26 May 2011 19:10:30 +0000 Subject: [PATCH] Twenty Eleven: Show tag descriptions on tag archive pages if they exist; Props zeo; Fixes #17438 git-svn-id: http://svn.automattic.com/wordpress/trunk@18058 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-content/themes/twentyeleven/category.php | 8 ++++++-- wp-content/themes/twentyeleven/tag.php | 8 +++++++- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/wp-content/themes/twentyeleven/category.php b/wp-content/themes/twentyeleven/category.php index b0e230ed0..653d88b42 100644 --- a/wp-content/themes/twentyeleven/category.php +++ b/wp-content/themes/twentyeleven/category.php @@ -17,7 +17,11 @@ get_header(); ?> printf( __( 'Category Archives: %s', 'twentyeleven' ), '' . single_cat_title( '', false ) . '' ); ?> - ' . $categorydesc . '' ); ?> + ' . $category_description . '' ); + ?> @@ -41,4 +45,4 @@ get_header(); ?> - \ No newline at end of file + diff --git a/wp-content/themes/twentyeleven/tag.php b/wp-content/themes/twentyeleven/tag.php index 9ff95f0e1..58298da15 100644 --- a/wp-content/themes/twentyeleven/tag.php +++ b/wp-content/themes/twentyeleven/tag.php @@ -18,6 +18,12 @@ get_header(); ?>

' . single_tag_title( '', false ) . '' ); ?>

+ + ' . $tag_description . '' ); + ?> @@ -43,4 +49,4 @@ get_header(); ?> - \ No newline at end of file +