equal
deleted
inserted
replaced
21 <div id="comments" class="comments-area"> |
21 <div id="comments" class="comments-area"> |
22 |
22 |
23 <?php if ( have_comments() ) : ?> |
23 <?php if ( have_comments() ) : ?> |
24 <h2 class="comments-title"> |
24 <h2 class="comments-title"> |
25 <?php |
25 <?php |
|
26 if ( 1 === get_comments_number() ) { |
26 printf( |
27 printf( |
27 _nx( 'One thought on “%2$s”', '%1$s thoughts on “%2$s”', get_comments_number(), 'comments title', 'twentythirteen' ), |
28 /* translators: %s: The post title. */ |
28 number_format_i18n( get_comments_number() ), '<span>' . get_the_title() . '</span>' |
29 _x( 'One thought on “%s”', 'comments title', 'twentythirteen' ), |
|
30 '<span>' . get_the_title() . '</span>' |
29 ); |
31 ); |
|
32 } else { |
|
33 printf( |
|
34 /* translators: %1$s: The number of comments. %2$s: The post title. */ |
|
35 _nx( '%1$s thought on “%2$s”', '%1$s thoughts on “%2$s”', get_comments_number(), 'comments title', 'twentythirteen' ), |
|
36 number_format_i18n( get_comments_number() ), |
|
37 '<span>' . get_the_title() . '</span>' |
|
38 ); |
|
39 } |
30 ?> |
40 ?> |
31 </h2> |
41 </h2> |
32 |
42 |
33 <ol class="comment-list"> |
43 <ol class="comment-list"> |
34 <?php |
44 <?php |
43 </ol><!-- .comment-list --> |
53 </ol><!-- .comment-list --> |
44 |
54 |
45 <?php |
55 <?php |
46 // Are there comments to navigate through? |
56 // Are there comments to navigate through? |
47 if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : |
57 if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : |
48 ?> |
58 ?> |
49 <nav class="navigation comment-navigation" role="navigation"> |
59 <nav class="navigation comment-navigation" role="navigation"> |
50 <h1 class="screen-reader-text section-heading"><?php _e( 'Comment navigation', 'twentythirteen' ); ?></h1> |
60 <h1 class="screen-reader-text section-heading"><?php _e( 'Comment navigation', 'twentythirteen' ); ?></h1> |
51 <div class="nav-previous"><?php previous_comments_link( __( '← Older Comments', 'twentythirteen' ) ); ?></div> |
61 <div class="nav-previous"><?php previous_comments_link( __( '← Older Comments', 'twentythirteen' ) ); ?></div> |
52 <div class="nav-next"><?php next_comments_link( __( 'Newer Comments →', 'twentythirteen' ) ); ?></div> |
62 <div class="nav-next"><?php next_comments_link( __( 'Newer Comments →', 'twentythirteen' ) ); ?></div> |
53 </nav><!-- .comment-navigation --> |
63 </nav><!-- .comment-navigation --> |