Gravatar

I’ve got leave this record here so that some day, when I need to design another theme or upgrade to another version, I got to tell myself how I insert the gravatar code today.

First, I went to http://en.gravatar.com/ to apply for a gravatar.

Next I stumbled onto this site: Dyer.org/How to Add Avatars to your WordPress
which explained how to insert the code.

So what I did was to insert this line:

<?php echo get_avatar($comment,'50','' ); ?>

in the comment.php file and edited the css file accordingly.

Another interesting thing - it’s transparent.

Leave a Reply