I've got no problem with using a callback in functions.php to style my comments (mind, it was hard work) but I'm baffled as to how to add numbers to comments.
Any help from anyone, please?
How do I use this code `<?php
add_filter('get_comments_number', 'comment_count', 0);
function comment_count( $count ) {
if ( ! is_admin() ) {
global $id;
$comments_by_type = &separate_comments(get_comments('status=approve&post_id=' . $id));
return count($comments_by_type['comment']);
} else {
return $count;
}
}
?>` from http://sivel.net/2008/10/wp-27-comment-separation/?
And how are these (background image?) comment numbers made here http://www.fannetasticfood.com/2010/03/06/a-blog-tastic-day/#comments from this theme here http://wpthemecity.com/themes/mount-kailash/ which I've downloaded and dug into a little bit.
Baffled!