Twenty Thirteen: remove extraneous comment link on single post views, props markmcwilliams. Fixes #23657.
git-svn-id: https://develop.svn.wordpress.org/trunk@23621 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
cc2340d683
commit
32d99413f3
|
@ -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 -->
|
||||
|
|
|
@ -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 -->
|
||||
|
|
|
@ -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 -->
|
||||
|
|
|
@ -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 -->
|
||||
|
|
|
@ -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 -->
|
||||
|
|
Loading…
Reference in New Issue