Changeset 17111
- Timestamp:
- 12/22/2010 06:06:56 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-content/themes/twentyten/loop.php
r17072 r17111 54 54 * Without further ado, the loop: 55 55 */ ?> 56 <?php while ( have_posts() ) : the_post(); 57 58 $comment_number_template = _n( '1 Comment', '% Comments', get_comments_number(), 'twentyten' ); 59 ?> 56 <?php while ( have_posts() ) : the_post(); ?> 60 57 61 58 <?php /* How to display posts of the Gallery format. The gallery category is the old way. */ ?> … … 100 97 <span class="meta-sep">|</span> 101 98 <?php endif; ?> 102 <span class="comments-link"><?php comments_popup_link( __( 'Leave a comment', 'twentyten' ), $comment_number_template, $comment_number_template); ?></span>99 <span class="comments-link"><?php comments_popup_link( __( 'Leave a comment', 'twentyten' ), __( '1 Comment', 'twentyten' ), __( '% Comments', 'twentyten' ) ); ?></span> 103 100 <?php edit_post_link( __( 'Edit', 'twentyten' ), '<span class="meta-sep">|</span> <span class="edit-link">', '</span>' ); ?> 104 101 </div><!-- .entry-utility --> … … 123 120 <?php twentyten_posted_on(); ?> 124 121 <span class="meta-sep">|</span> 125 <span class="comments-link"><?php comments_popup_link( __( 'Leave a comment', 'twentyten' ), $comment_number_template, $comment_number_template); ?></span>122 <span class="comments-link"><?php comments_popup_link( __( 'Leave a comment', 'twentyten' ), __( '1 Comment', 'twentyten' ), __( '% Comments', 'twentyten' ) ); ?></span> 126 123 <?php edit_post_link( __( 'Edit', 'twentyten' ), '<span class="meta-sep">|</span> <span class="edit-link">', '</span>' ); ?> 127 124 </div><!-- .entry-utility --> … … 165 162 <span class="meta-sep">|</span> 166 163 <?php endif; ?> 167 <span class="comments-link"><?php comments_popup_link( __( 'Leave a comment', 'twentyten' ), $comment_number_template, $comment_number_template); ?></span>164 <span class="comments-link"><?php comments_popup_link( __( 'Leave a comment', 'twentyten' ), __( '1 Comment', 'twentyten' ), __( '% Comments', 'twentyten' ) ); ?></span> 168 165 <?php edit_post_link( __( 'Edit', 'twentyten' ), '<span class="meta-sep">|</span> <span class="edit-link">', '</span>' ); ?> 169 166 </div><!-- .entry-utility -->
Note: See TracChangeset
for help on using the changeset viewer.