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?? Jul 6, 2011 at 20:18
  • I've been told I look like him - the poor guy! Jul 6, 2011 at 20:29

Your Answer

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

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