0

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.

2

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.

  • 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 clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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