From 52c85991897a276ac5f92f626baab8f5391eace7 Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Tue, 7 Dec 2010 23:31:35 +0000 Subject: [PATCH] Add 'View Galleries' link for post formats. fixes #15506. git-svn-id: https://develop.svn.wordpress.org/trunk@16782 602fd350-edb4-49c9-b593-d223f7449a82 --- 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' ) ) ) : ?>
>