Twenty Thirteen: remove extraneous comment link on single post views, props markmcwilliams. Fixes #23657.

git-svn-id: http://core.svn.wordpress.org/trunk@23621 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Lance Willett 2013-03-05 21:44:38 +00:00
parent 377714954f
commit 191272ff82
5 changed files with 5 additions and 5 deletions

View File

@ -31,7 +31,7 @@
<footer class="entry-meta">
<?php twentythirteen_entry_meta(); ?>
<?php if ( comments_open() ) : ?>
<?php if ( comments_open() && ! is_single() ) : ?>
<span class="comments-link">
<?php comments_popup_link( '<span class="leave-reply">' . __( 'Leave a comment', 'twentythirteen' ) . '</span>', __( 'One comment so far', 'twentythirteen' ), __( 'View all % comments', 'twentythirteen' ) ); ?>
</span><!-- .comments-link -->

View File

@ -27,7 +27,7 @@
<footer class="entry-meta">
<?php twentythirteen_entry_meta(); ?>
<?php if ( comments_open() ) : ?>
<?php if ( comments_open() && ! is_single() ) : ?>
<span class="comments-link">
<?php comments_popup_link( '<span class="leave-reply">' . __( 'Leave a comment', 'twentythirteen' ) . '</span>', __( 'One comment so far', 'twentythirteen' ), __( 'View all % comments', 'twentythirteen' ) ); ?>
</span><!-- .comments-link -->

View File

@ -17,7 +17,7 @@
<footer class="entry-meta">
<?php twentythirteen_entry_meta(); ?>
<?php if ( comments_open() ) : ?>
<?php if ( comments_open() && ! is_single() ) : ?>
<span class="comments-link">
<?php comments_popup_link( '<span class="leave-reply">' . __( 'Leave a comment', 'twentythirteen' ) . '</span>', __( 'One comment so far', 'twentythirteen' ), __( 'View all % comments', 'twentythirteen' ) ); ?>
</span><!-- .comments-link -->

View File

@ -27,7 +27,7 @@
<footer class="entry-meta">
<?php twentythirteen_entry_meta(); ?>
<?php if ( comments_open() ) : ?>
<?php if ( comments_open() && ! is_single() ) : ?>
<span class="comments-link">
<?php comments_popup_link( '<span class="leave-reply">' . __( 'Leave a comment', 'twentythirteen' ) . '</span>', __( 'One comment so far', 'twentythirteen' ), __( 'View all % comments', 'twentythirteen' ) ); ?>
</span><!-- .comments-link -->

View File

@ -42,7 +42,7 @@
<?php endif; ?>
<footer class="entry-meta">
<?php if ( comments_open() ) : ?>
<?php if ( comments_open() && ! is_single() ) : ?>
<div class="comments-link">
<?php comments_popup_link( '<span class="leave-reply">' . __( 'Leave a comment', 'twentythirteen' ) . '</span>', __( 'One comment so far', 'twentythirteen' ), __( 'View all % comments', 'twentythirteen' ) ); ?>
</div><!-- .comments-link -->