Add Gravatar to your WordPress blog

By Ashish Mohta

Matt showed an easy way to add Gravatar Images along with comment section of WordPress blogs.Its just 2 lines of code which can fetch your image added to your gravatar account. I did not wanted to use myblog code as its heavy on site. You can add this code to any PHP enabled site. I find this code to be light weight and easy to implement.

How to add Gravatar ?

Get the piece of code from http://pastebin.ca/743979 and put it in your comments loop, right before the comment_text() call.. It looks like this

Gravatar Code

How to get your own Gravatar ?

Just visit http://site.gravatar.com/ and signup. Then upload an image , crop and save.

Have your say ?

Are you using Gravatar on your site ? Do you like it ? Do share it with us in comments .


Email Print
Vote This Post DownVote This Post Up (No Ratings Yet)
Loading ... Loading ...

About The Author of this article:
Ashish is one of the co-author of this blog and writes on various interesting softwares, PC tips and more. You can read more of his articles here.

Enjoyed this article? Download our Toolbar ( for Free ) and read us more quickly or Free Subscribe to the Full RSS Feed or Get Post like this in your Inbox Free Subscribe via Email


  • Tags: ,
  • Read More Stories from Wordpress

  • No Comments Yet

    You can be the first to comment!

    Leave a comment Share your thoughts with the world

    Scroll Down and Check footer for more details



    • Recent Comments:

      • Anurag: Great Tool… Thnx For thepost….. http://www.pcdrome.com
      • CypherHackz: But, is it secure? Nowadayas I keep thinking about the security of the information transfered from my PC...
      • Greg P.: I read up about DropBox on their website. This looks very promising! I especially like the differential sync...
      • dave: I have heard many good things about dropbox and signed up for beta but did not get an invite. May I get an...
      • drew: i want the engage xp theme please how would i get it!!!
      • brandub: thanks for ths, I was searching for something else but this process helped me a little bit, and is...
      • Gene: This looks great! Do you have any invites left? Thanks!
      • dyjay: helow! how can i play wars of gears after instal dx 10 from alky on xp?i have a error ’send….don`t...
      • Madhur Kapoor: My father will love this.
      • kali: i dont knw john i ve downloaded immediately as chrome was lainched….i didnt experience any of the probs u...

    Technology Blogs - Blog Top Sites