Return to Snippet

Revision: 11740
at February 17, 2009 10:23 by selfmadepsyche


Initial Code
<?php echo get_avatar( get_the_author_email(), '80' ); ?>

Initial URL
http://themeshaper.com/how-to-add-gravatars-for-the-post-author-in-wordpress/

Initial Description
get_the_author_email outputs the post author’s email and the “80” is the size of the avatar image in pixels & it has to be in the loop!

Initial Title
How To Add Gravatars For The Post Author in WordPress

Initial Tags
wordpress

Initial Language
PHP