Make WordPress Core

Ticket #23657: 23657.2.diff

File 23657.2.diff, 3.6 KB (added by markmcwilliams, 12 years ago)
  • wp-content/themes/twentythirteen/content-gallery.php

     
    3131        <footer class="entry-meta">
    3232                <?php twentythirteen_entry_meta(); ?>
    3333
    34                 <?php if ( comments_open() ) : ?>
     34                <?php if ( comments_open() && ! is_single() ) : ?>
    3535                <span class="comments-link">
    3636                        <?php comments_popup_link( '<span class="leave-reply">' . __( 'Leave a comment', 'twentythirteen' ) . '</span>', __( 'One comment so far', 'twentythirteen' ), __( 'View all % comments', 'twentythirteen' ) ); ?>
    3737                </span><!-- .comments-link -->
  • wp-content/themes/twentythirteen/content-image.php

     
    2727        <footer class="entry-meta">
    2828                <?php twentythirteen_entry_meta(); ?>
    2929
    30                 <?php if ( comments_open() ) : ?>
     30                <?php if ( comments_open() && ! is_single() ) : ?>
    3131                <span class="comments-link">
    3232                        <?php comments_popup_link( '<span class="leave-reply">' . __( 'Leave a comment', 'twentythirteen' ) . '</span>', __( 'One comment so far', 'twentythirteen' ), __( 'View all % comments', 'twentythirteen' ) ); ?>
    3333                </span><!-- .comments-link -->
  • wp-content/themes/twentythirteen/content-quote.php

     
    1717        <footer class="entry-meta">
    1818                <?php twentythirteen_entry_meta(); ?>
    1919
    20                 <?php if ( comments_open() ) : ?>
     20                <?php if ( comments_open() && ! is_single() ) : ?>
    2121                <span class="comments-link">
    2222                        <?php comments_popup_link( '<span class="leave-reply">' . __( 'Leave a comment', 'twentythirteen' ) . '</span>', __( 'One comment so far', 'twentythirteen' ), __( 'View all % comments', 'twentythirteen' ) ); ?>
    2323                </span><!-- .comments-link -->
  • wp-content/themes/twentythirteen/content-video.php

     
    2727        <footer class="entry-meta">
    2828                <?php twentythirteen_entry_meta(); ?>
    2929
    30                 <?php if ( comments_open() ) : ?>
     30                <?php if ( comments_open() && ! is_single() ) : ?>
    3131                <span class="comments-link">
    3232                        <?php comments_popup_link( '<span class="leave-reply">' . __( 'Leave a comment', 'twentythirteen' ) . '</span>', __( 'One comment so far', 'twentythirteen' ), __( 'View all % comments', 'twentythirteen' ) ); ?>
    3333                </span><!-- .comments-link -->
  • wp-content/themes/twentythirteen/content.php

     
    4242        <?php endif; ?>
    4343
    4444        <footer class="entry-meta">
    45                 <?php if ( comments_open() ) : ?>
     45                <?php if ( comments_open() && ! is_single() ) : ?>
    4646                        <div class="comments-link">
    4747                                <?php comments_popup_link( '<span class="leave-reply">' . __( 'Leave a comment', 'twentythirteen' ) . '</span>', __( 'One comment so far', 'twentythirteen' ), __( 'View all % comments', 'twentythirteen' ) ); ?>
    4848                        </div><!-- .comments-link -->