Changeset 8695 for trunk/wp-content/themes/default/comments.php
- Timestamp:
- 08/20/2008 11:48:09 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/wp-content/themes/default/comments.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-content/themes/default/comments.php
r7888 r8695 15 15 16 16 /* This variable is for alternating comment background */ 17 $oddcomment = ' class="alt"';17 $oddcomment = 'alt'; 18 18 ?> 19 19 … … 27 27 <?php foreach ($comments as $comment) : ?> 28 28 29 <li <?php echo $oddcomment;?>id="comment-<?php comment_ID() ?>">29 <li <?php comment_class($oddcomment) ?>id="comment-<?php comment_ID() ?>"> 30 30 <?php echo get_avatar( $comment, 32 ); ?> 31 31 <cite><?php comment_author_link() ?></cite> Says: … … 43 43 <?php 44 44 /* Changes every other comment to a different class */ 45 $oddcomment = ( empty( $oddcomment ) ) ? ' class="alt"' : '';45 $oddcomment = ( empty( $oddcomment ) ) ? 'alt' : ''; 46 46 ?> 47 47
Note: See TracChangeset
for help on using the changeset viewer.