How To Enable Gravatar On Your WordPress Blog ?
December 13, 2009 – 1:42 am | by admin
Tags: enable, gravatar, How to, on, wordpress
You have installed a new theme for your WordPress blog but there is no Gravatar available for that theme. Actually the solution is simple.
So, How To Enable Gravatar On Your WordPress Blog ? No plugin needed =)
1. Open comment.php for your theme that you use for your blog.
2. Copy the code below :
3. Paste the code in comment.php. You’ll find the suitable place to paste code. Take a look on the example :
Click on the image to view larger
4. Save the comment.php file and you’re done! You can change the size of the gravatar. As you can see, I’m using 40 for the size of my gravatar. Good luck =)

24 Responses to “How To Enable Gravatar On Your WordPress Blog ?”
By loq on Dec 13, 2009 | Reply
tepat pada masanya.Memang aku tercari2 nak buat macam ni.thx
[Reply]
By beliamuda on Dec 13, 2009 | Reply
easy solution… thanks for sharing…
[Reply]
By Lee | Money4invest on Dec 13, 2009 | Reply
Now it’s quite easy to install the Gravatar and thanks for great sharing tip.
[Reply]
By blowie on Dec 13, 2009 | Reply
mudah sungguh! tak perlu dah nak guna plugin2 tu. bikin semak aje
[Reply]
By EmatNgage on Dec 13, 2009 | Reply
Blinkky,are this for those who dont have gravatar ?
[Reply]
admin Reply:
December 14th, 2009 at 12:29 am
To EmatNgage,
This is for wordpress themes that didn’t have Gravatar enable =)
[Reply]
EmatNgage Reply:
December 14th, 2009 at 3:58 pm
Ok Tima Kasih.!!
[Reply]
By Roslan Nazri on Dec 14, 2009 | Reply
bro gune la threaded komen sng nak balas komen org tanye…hehe thanx for this…leh resize avatar ek..
[Reply]
admin Reply:
December 14th, 2009 at 4:18 am
Thanks bro, dah guna ni =)
[Reply]
Roslan Nazri Reply:
December 18th, 2009 at 2:59 am
ha camni la sng..heh3…baru nampak menarik.. =)
[Reply]
By loq on Dec 14, 2009 | Reply
satu lagi mau tanya.Macam mane nak letak gravatar ni dekat side kanan.kalau sebelum ni side kiri kan?so macam mana nak letak side kanan.thx
[Reply]
admin Reply:
December 14th, 2009 at 5:36 am
Align right:
<div align=right><?php if(function_exists('get_avatar')) { echo get_avatar($comment, '40'); } ?></div>[Reply]
By Ruchi on Dec 14, 2009 | Reply
That’s great. Easy way to enable gravatar without any plugin.
[Reply]
By Arafat Hossain Piyada on Dec 14, 2009 | Reply
Thank God! My theme do support Gravatar. By the way, nice tutorial, thanks for sharing.
[Reply]
By S.Pradeep Kumar on Dec 15, 2009 | Reply
Nice sharing buddy.. this will be really helpful for themes not having Gravatar enabled..
[Reply]
By Sushant on Dec 16, 2009 | Reply
Thats some nice clean instructions for enabling Gravatar.
BTW thanks for coming by blog and posting your valuable comment.
[Reply]
By en_me on Dec 16, 2009 | Reply
ghitewww kanns..
[Reply]
By mohdisa on Dec 16, 2009 | Reply
wah, theme baru. fix and simple. nice tips. thanks for sharing.
[Reply]
By abrablog on Dec 17, 2009 | Reply
satu tips yang bagus ni.
[Reply]
By Sunil Jain on Dec 17, 2009 | Reply
Small but great tip
But there are some commenting plugins which comes with these functions likewise AJAX Comment Reply , they come with Gravatar enabled
[Reply]
By dinsblog on Dec 17, 2009 | Reply
terima kasih…aku pun tercari-cari bende nie..
[Reply]
By www.roulettetrick.org on Jan 8, 2010 | Reply
Great idea, thanks for this tip!
[Reply]
By Pubudu Kodikara on Jan 23, 2010 | Reply
Without G-avatar, a blog looks dull!
[Reply]