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

Arthemia Premuim

Arthemia Premium is a magazine style theme that unleashes the power of Wordpress, transforming it…

1 minute ago

Revolution Two: Album theme

Benefits include the Album theme, unlimited theme support answered by our experts, customization techniques with…

24 hours ago

Search Unleased: A custom WordPress plugin

Most all WordPress theme's use a a simple search form to search your site. But…

1 day ago

Limit the characters that display on the_title

Ever wanted to display the title of a post somewhere but limit the amount of…

2 days ago