/ Published in: PHP
Use in the WP loop.
User's registered email account on WP must also be assigned to Gravatar.
User's registered email account on WP must also be assigned to Gravatar.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<?php $author = get_the_author_email(); echo get_avatar( $author, 80 ); ?>
URL: http://wpengineer.com/505/identify-authors-gravatars/