equal
deleted
inserted
replaced
22 |
22 |
23 <?php if ( have_comments() ) : ?> |
23 <?php if ( have_comments() ) : ?> |
24 |
24 |
25 <h2 class="comments-title"> |
25 <h2 class="comments-title"> |
26 <?php |
26 <?php |
27 printf( _n( 'One thought on “%2$s”', '%1$s thoughts on “%2$s”', get_comments_number(), 'twentyfourteen' ), |
27 $comments_number = get_comments_number(); |
28 number_format_i18n( get_comments_number() ), get_the_title() ); |
28 if ( '1' === $comments_number ) { |
|
29 /* translators: %s: post title */ |
|
30 printf( _x( 'One thought on “%s”', 'comments title', 'twentyfourteen' ), get_the_title() ); |
|
31 } else { |
|
32 printf( |
|
33 /* translators: 1: number of comments, 2: post title */ |
|
34 _nx( |
|
35 '%1$s thought on “%2$s”', |
|
36 '%1$s thoughts on “%2$s”', |
|
37 $comments_number, |
|
38 'comments title', |
|
39 'twentyfourteen' |
|
40 ), |
|
41 number_format_i18n( $comments_number ), |
|
42 get_the_title() |
|
43 ); |
|
44 } |
29 ?> |
45 ?> |
30 </h2> |
46 </h2> |
31 |
47 |
32 <?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : ?> |
48 <?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : ?> |
33 <nav id="comment-nav-above" class="navigation comment-navigation" role="navigation"> |
49 <nav id="comment-nav-above" class="navigation comment-navigation" role="navigation"> |
37 </nav><!-- #comment-nav-above --> |
53 </nav><!-- #comment-nav-above --> |
38 <?php endif; // Check for comment navigation. ?> |
54 <?php endif; // Check for comment navigation. ?> |
39 |
55 |
40 <ol class="comment-list"> |
56 <ol class="comment-list"> |
41 <?php |
57 <?php |
42 wp_list_comments( array( |
58 wp_list_comments( |
43 'style' => 'ol', |
59 array( |
44 'short_ping' => true, |
60 'style' => 'ol', |
45 'avatar_size' => 34, |
61 'short_ping' => true, |
46 ) ); |
62 'avatar_size' => 34, |
|
63 ) |
|
64 ); |
47 ?> |
65 ?> |
48 </ol><!-- .comment-list --> |
66 </ol><!-- .comment-list --> |
49 |
67 |
50 <?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : ?> |
68 <?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : ?> |
51 <nav id="comment-nav-below" class="navigation comment-navigation" role="navigation"> |
69 <nav id="comment-nav-below" class="navigation comment-navigation" role="navigation"> |