using the Gravatar in WordPress.

Gravatar is Globally Recognized Avatar, It can be identified by your email address or ID in http://www.gravatar.com/.

The Great WordPress supported gravatar system above version 2.5, we can show the avator icon by the function get_avatar(); I patch my theme (comment.php) this afternoon, and let it supported the gravatar icon. if you wants your WordPress to support the gravatar, please follow the steps:

first, if you don’t have a gravatar, please sign up for one.

second, modify your comment.php in your /wp-content/themes/your_theme/comment.php and insert the function get_avatar(); .

for an example:

WordPress also provided for backwards compatibility(from codex.wordpress.org):

done! that’s it!

you can learn more at: Using Gravatars

by the way, if you want to test your gravatar, you may leave a comment above this post.

3 thoughts on “using the Gravatar in WordPress.”

  1. Yes, sign up an account, upload you “avatar”, and fill your email address when you post an article. then you waill see your avatar.

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.