• Resolved ratspootin

    (@ratspootin)


    Does anyone know how to disable or remove the comment count next to the avatar icons on comments? I have two other blogs and these numbers do not appear.

    – You cannot highlight these numbers in the browser
    – These numbers do not show when using View Source.

    Screenshot

    This is the code for that area.

    <?php if ($comments) : ?>
    	<h3 id="comments"><?php comments_number('No Responses', 'One Response', '% Responses' );?> to “<?php the_title(); ?>”</h3>
    
    <ol class="commentlist">
    <?php foreach ($comments as $comment) : ?>
    
    	<li class="<?php echo $oddcomment; ?>" id="comment-<?php comment_ID() ?>">
    
    <div class="commentmetadata">
    <div class="grav_icon"><?php echo get_avatar( $comment, 50 ); ?> </div> <b><?php comment_author_link() ?></b>, <?php _e('on'); ?> <a href="#comment-<?php comment_ID() ?>" title=""><?php comment_date('F jS, Y') ?> <?php _e('at');?> <?php comment_time() ?></a>
     		<?php if ($comment->comment_approved == '0') : ?>
    		<em><?php _e('Your comment is awaiting moderation.'); ?></em>
     		<?php endif; ?>
    </div>
    
    <?php comment_text() ?>
    <?php edit_comment_link('Edit Comment','',''); ?>
    	</li>

    I’ve tried to steal Twenty Ten, Eleven and Twelve’s code but the comments don’t appear if I use that code (even though it shows “3 Responses”). :/

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Remove comment count next to avatars?’ is closed to new replies.