numbered list on comments without period after number
I know that I can use the ordered list function built into wordpress to display all the comments with numbers next to them. This may seem totally useless to anyone else but I want that ordered list to not have a period after the number displayed. I wrote up a php script in my functions.php but am running into issues. I put this bit of code in my comments.php file
<?php wp_list_comments('type=comment&callback=ninja_comment'); ?>this points to this block of code in my functions.php ` $x= get_comments_number();
for ($i=1; $i<=$x; $i++)
echo “<div class=’comment_number grid_2 push_5′>”.$i.”</div>”;
It worked great until i entered multiple replies to posts. Any thoughts?
- The topic ‘numbered list on comments without period after number’ is closed to new replies.