I just get it working with two. Here it is what I have by now :
Code: Select all
<ol>
<?php $i = 0; ?>
<?php foreach ($comments as $comment) : ?>
<?php $i++; ?>
<li <?php if($i&1) { echo 'class="odd"';} else {echo 'class="even"';} ?>>
<?php comment_text() ?>
</li>
<?php
endforeach;
?>
</ol>How could I add a third row here ?
Thanks