I want each comment to display a different background color, this is nothing new but none of the old methods seem to work in wordpress 3 – The code seems to have changed since the odd/even method was the standard way to achieve it.
comments are listed with:
<?php if ( have_comments() ) : ?> <h2><?php comments_number('No Comments', '1 Comment', '% Comments' );?></h2> <ol class="commentlist"> <?php wp_list_comments(); ?> </ol>
Any help appreciated.
- The topic ‘Alternating comment row colors in wordpress 3’ is closed to new replies.