From 7c2e6f8c907253cbeac4b040001974821a315c44 Mon Sep 17 00:00:00 2001 From: nacin Date: Tue, 7 Dec 2010 23:31:35 +0000 Subject: [PATCH] Add 'View Galleries' link for post formats. fixes #15506. git-svn-id: http://svn.automattic.com/wordpress/trunk@16782 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-content/themes/twentyten/loop.php | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/wp-content/themes/twentyten/loop.php b/wp-content/themes/twentyten/loop.php index 05b0de06e5..277be1ba4b 100644 --- a/wp-content/themes/twentyten/loop.php +++ b/wp-content/themes/twentyten/loop.php @@ -58,9 +58,9 @@ $comment_number_template = _n( '1 Comment', '% Comments', get_comments_number(), 'twentyten' ); ?> - + - ID ) ) : ?> + ID ) || in_category( _x( 'gallery', 'gallery category slug', 'twentyten' ) ) ) : ?>
>

@@ -92,7 +92,10 @@ $comment_number_template = _n( '1 Comment', '% Comments', get_comments_number(),
- + ID ) ) : ?> + + | + | @@ -101,9 +104,9 @@ $comment_number_template = _n( '1 Comment', '% Comments', get_comments_number(),
- + - ID ) ) : ?> + ID ) || in_category( _x( 'asides', 'asides category slug', 'twentyten' ) ) ) : ?>
>