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.

1 Answer 1

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.

2
  • Good article. You wouldn't know that "cb" guy by chance?? Commented Jul 6, 2011 at 20:18
  • I've been told I look like him - the poor guy! Commented Jul 6, 2011 at 20:29

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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