WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
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

Your Answer


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.