mirror of
https://github.com/WordPress/WordPress.git
synced 2025-04-05 19:45:57 +02:00
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:
parent
377714954f
commit
191272ff82
@ -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
Block a user