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

Run PHP5 on your PHP4 Server

Here is a really neat trick! Access your PHP5 while running PHP4. If you haven't…

13 hours ago

The New Theme

So I want to hear some feedback! Please let me know what you think so…

2 days ago

Flip! A jQuery plugin

I just came across a interesting new plugin built on the wonderful jQuery library. It's…

2 days ago