[wp-testers] Avatars

Ryan Boren ryan at boren.nu
Tue Mar 18 02:39:08 GMT 2008


On Mon, Mar 17, 2008 at 7:31 PM, Nick Bohle <mail at nickbohle.de> wrote:
> There are several places where you could use the get_avatar function. Some
>  examples can be found here:
>
>  http://weblogtoolscollection.com/archives/2008/03/03/gravatars-and-wordpress
>  -25/
>
>  I am using the following code in my comments.php:
>
>  <?php if(function_exists('get_avatar')){ ?> <span style="float:right;
>  margin-left: 10px;"> <?php echo
>  get_avatar(get_comment_author_email(),50);?> </span> <?php } ?>

See also:

http://trac.wordpress.org/changeset/7360
http://trac.wordpress.org/changeset/7361


More information about the wp-testers mailing list