Changeset 13720 for trunk/wp-content/themes/twentyten/comments.php
- Timestamp:
- 03/16/2010 08:17:22 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-content/themes/twentyten/comments.php
r13498 r13720 14 14 <?php if ( have_comments() ) : ?> 15 15 <h3 id="comments-title"><?php comments_number( 16 sprintf( __('No Responses to %s', 'twentyten'), '<em>' . get_the_title() . '</em>'),17 sprintf( __('One Response to %s', 'twentyten'), '<em>' . get_the_title() . '</em>'),18 sprintf( __('%% Responses to %s', 'twentyten'), '<em>' . get_the_title() . '</em>')16 sprintf( __( 'No Responses to %s', 'twentyten' ), '<em>' . get_the_title() . '</em>' ), 17 sprintf( __( 'One Response to %s', 'twentyten' ), '<em>' . get_the_title() . '</em>' ), 18 sprintf( __( '%% Responses to %s', 'twentyten' ), '<em>' . get_the_title() . '</em>' ) 19 19 ); ?> </h3> 20 20 21 21 <?php if ( get_comment_pages_count() > 1 ) : // are there comments to navigate through ?> 22 22 <div class="navigation"> 23 <div class="nav-previous"><?php previous_comments_link( __( '← Older Comments', 'twentyten') ); ?></div>24 <div class="nav-next"><?php next_comments_link( __( 'Newer Comments →', 'twentyten') ); ?></div>23 <div class="nav-previous"><?php previous_comments_link( __( '← Older Comments', 'twentyten' ) ); ?></div> 24 <div class="nav-next"><?php next_comments_link( __( 'Newer Comments →', 'twentyten' ) ); ?></div> 25 25 </div> 26 26 <?php endif; // check for comment navigation ?> 27 27 28 28 <ol class="commentlist"> 29 <?php wp_list_comments( array( 'callback' => 'twentyten_comment') ); ?>29 <?php wp_list_comments( array( 'callback' => 'twentyten_comment' ) ); ?> 30 30 </ol> 31 31 32 32 <?php if ( get_comment_pages_count() > 1 ) : // are there comments to navigate through ?> 33 33 <div class="navigation"> 34 <div class="nav-previous"><?php previous_comments_link( __( '← Older Comments', 'twentyten') ); ?></div>35 <div class="nav-next"><?php next_comments_link( __( 'Newer Comments →', 'twentyten') ); ?></div>34 <div class="nav-previous"><?php previous_comments_link( __( '← Older Comments', 'twentyten' ) ); ?></div> 35 <div class="nav-next"><?php next_comments_link( __( 'Newer Comments →', 'twentyten' ) ); ?></div> 36 36 </div> 37 37 <?php endif; // check for comment navigation ?> … … 43 43 <?php else : // if comments are closed ?> 44 44 45 <p class="nocomments"><?php _e( 'Comments are closed.', 'twentyten'); ?></p>45 <p class="nocomments"><?php _e( 'Comments are closed.', 'twentyten' ); ?></p> 46 46 47 47 <?php endif; ?>
Note: See TracChangeset
for help on using the changeset viewer.