Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

Currently, to call comments I am simply using:

<?php wp_list_comments(); ?>

in comments.php. This is calling up gravatars, which I would like to be able to set the size of. How can I set the size of gravatars in my comments.

share|improve this question
add comment

1 Answer

up vote 2 down vote accepted

Quite simple, actually:

wp_list_comments( 'avatar_size=80' );

Just change avatar_size=80 to whatever is appropriate.

Here's a bit more information on customizing Gravatars in WordPress.

share|improve this answer
    
Thank you very much! –  Lucas Jul 6 '11 at 18:49
    
Good article. You wouldn't know that "cb" guy by chance?? –  Ray Mitchell Jul 6 '11 at 20:18
    
I've been told I look like him - the poor guy! –  Chip Bennett Jul 6 '11 at 20:29
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.