Categories: Tips & Tricks

How to: Add any authors gravatar to their post

This is an easy one, just add one line to your single.php file where you would like the Gravatar to show up.

<?php echo get_avatar( get_the_author_id(), $size = '96', $default = '<path_to_url>' ); ?>
Web Master

Hi, I am Miguel, I bought this site in 2009. So I now run or manage the site. Please visit my new website or follow me on twitter @W3i.

Recent Posts

Sam Bauers on bbPress [video]

As mentioned in a previous post, I was able to record about 85% of the…

18 minutes ago

The actually release of WordPress 2.8 announced

The WordPress development blog has put a date on the release of 2.8, plus some…

12 hours ago

Ben Dunkle on designing icons for WordPress [video]

I know many people attendedWordCamp 2009, in fact I believe there were 700 plus attendees.…

1 day ago

Notes from WordCamp San Fransisco

Over view notes of San Francisco WordCamp 2009 by [insert creator]??

2 days ago

The state of the Press

I might like to start off by saying Happy Birthday WordPress. I don't have any…

2 days ago