Changeset 16614
- Timestamp:
- 11/29/2010 06:42:31 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-content/themes/twentyten/loop.php
r16589 r16614 54 54 * Without further ado, the loop: 55 55 */ ?> 56 <?php while ( have_posts() ) : the_post(); ?> 56 <?php while ( have_posts() ) : the_post(); 57 58 $comment_number_template = _n( '% Comment', '% Comments', get_comments_number(), 'twentyten' ); 59 ?> 57 60 58 61 <?php /* How to display posts in the Gallery category. */ ?> … … 94 97 <span class="meta-sep">|</span> 95 98 <?php endif; ?> 96 <span class="comments-link"><?php comments_popup_link( __( 'Leave a comment', 'twentyten' ), __( '1 Comment', 'twentyten' ), __( '% Comments', 'twentyten' )); ?></span>99 <span class="comments-link"><?php comments_popup_link( __( 'Leave a comment', 'twentyten' ), $comment_number_template, $comment_number_template ); ?></span> 97 100 <?php edit_post_link( __( 'Edit', 'twentyten' ), '<span class="meta-sep">|</span> <span class="edit-link">', '</span>' ); ?> 98 101 </div><!-- .entry-utility --> … … 117 120 <?php twentyten_posted_on(); ?> 118 121 <span class="meta-sep">|</span> 119 <span class="comments-link"><?php comments_popup_link( __( 'Leave a comment', 'twentyten' ), __( '1 Comment', 'twentyten' ), __( '% Comments', 'twentyten' )); ?></span>122 <span class="comments-link"><?php comments_popup_link( __( 'Leave a comment', 'twentyten' ), $comment_number_template, $comment_number_template ); ?></span> 120 123 <?php edit_post_link( __( 'Edit', 'twentyten' ), '<span class="meta-sep">|</span> <span class="edit-link">', '</span>' ); ?> 121 124 </div><!-- .entry-utility --> … … 159 162 <span class="meta-sep">|</span> 160 163 <?php endif; ?> 161 <span class="comments-link"><?php comments_popup_link( __( 'Leave a comment', 'twentyten' ), __( '1 Comment', 'twentyten' ), __( '% Comments', 'twentyten' )); ?></span>164 <span class="comments-link"><?php comments_popup_link( __( 'Leave a comment', 'twentyten' ), $comment_number_template, $comment_number_template ); ?></span> 162 165 <?php edit_post_link( __( 'Edit', 'twentyten' ), '<span class="meta-sep">|</span> <span class="edit-link">', '</span>' ); ?> 163 166 </div><!-- .entry-utility -->
Note: See TracChangeset
for help on using the changeset viewer.