As we continue to gear up for WordPress 2.5, have you gotten your theme ready for Gravatars? In the past it required plugins, but now WordPress 2.5 has built-in Gravatar support. This means going forward, themes can easily be released with Gravatars built-in to the theme because no plugin will be required.
So, you’ve got WordPress 2.5 installed and you’re ready to assign Gravatars to your comments? All you need to do is a quick code hack to the comments loop where you want the Gravatar to show up:
<?php if(function_exists(’get_avatar’)){ echo get_avatar($comment, ‘50’);} ?>
I encourage everyone to support WordPress by displaying Gravatars on their blogs once you’ve upgraded to WordPress 2.5.














There Are 28 Responses So Far »
Pingback: WordPress Wednesday News: WordPress 2.5 Due Any Day, Beta 2 Released, Many Plugins Updated, WordCamp Dallas This Weekend, WordCamp UK Suggested, and More : The Blog Herald
Pingback: WordPress 2.5 Release Candidate 2 | Vi?t Tutorial [Viettut.info]
Pingback: Random WordPress 2.5 How-To’s :: WPLover
Pingback: Add Gravatar Support to Your WordPress Comments | Theme Lab
Pingback: Memasukkan Gravatar pada comments | Mochammad Kurniawan