Return to Snippet

Revision: 48820
at July 10, 2011 22:21 by jacksaidwhat


Initial Code
<?php
$author = get_the_author_email();
echo get_avatar( $author, 80 );
?>

Initial URL
http://wpengineer.com/505/identify-authors-gravatars/

Initial Description
Use in the WP loop.

User's registered email account on WP must  also be assigned to Gravatar.

Initial Title
Display Author Gravatar in Wordpress (no plugin)

Initial Tags
wordpress

Initial Language
PHP