How To Enable Gravatar On Your Blog Comments

Categories: Blogging, Featured, FYI, How to's, Interesting, Tips & Tricks
Written By: Louis James Diaz Google+
.

First of all what is Gravatar?

It is a universal avatar that you can use from one blog to another when commenting or sometimes used for multi-user blogs to be able to identify each author from one another.

If you want one you may regster HERE.

Okay moving on, there’s a big chance that you may have had stumbled upon this post because you have a blog that is not gravatar enabled and you want to enable it.

Well, as a matter of fact, I have seen blogs that aren’t gravatar enabled, I don’t know if they really did not want their blogs to have those gravatars or they did not know how to enable gravatar on their blog theme.

But no matter what, I have had a simple way of trying to enable and even resize the gravatar on your blogs.

Login to your WordPress dashboard and go to Appearance > Editor

Then open your Comments.php ( to be able to edit this, you must have set the permission of this file to 666)

Then on the comments.php, find the command <!– You can start editing here. –>

and then insert this code <?php echo get_avatar( $comment, 50 ); ?>

Wondering where to insert that code? check the picture below.

.

and then save your changes. Note that you can change the size of the gravatar on your comments by changing the number value on the code you have just inserted (value of 50 from the example).

And there you have it adjust the size of gravatar you want on your comments and off you go!

Hope that simple trick helps!

Related Posts:

  1. How To Enable Incompatible Plugins In FireFox 6
  2. How To Enable Incompatible Delicious Toolbar On FireFox 4
  3. The Firm Group INC. – Visa Application Assistance (Guest Blog)
  4. How To Get Globe Huawei BM622 Admin Password For Updated Firmware
  5. How To Disable / Turn Off USB Ports For USB Flashdisks
  6. How To Access Blocked Facebook Thru Hosts File

To get notified on latest updates on my site

Then enter your email. Its FREE to Subscribe and there's nothing to lose. Thanks!

Don't worry I wont spam you and you can Unsubsribe anytime you want

4 Responses to “How To Enable Gravatar On Your Blog Comments”

  1. 4
    Tim Wilkinson Says:

    Thanks for this!

    I tried using the code from the WordPress Codec but couldn’t get to work. Tried your code and it worked immediately. :-)

  2. 3
    Louis James Diaz Says:

    Glad that one helped you out! Happy blogging!

  3. 2
    GarnetHGB Says:

    Here it is, more than a year later since you offered that description on enabling Gravatars in blog comments.

    As it happened, one of my four blogs must have had an old-style template, for nothing I did to get Gravators showing up on the other three blogs worked on this one blog.

    I located your site after doing a Google search that initially wasn’t helping me out very much, but your very clear and simple instructions were just the solution I needed!

    Thank you very much!!!

  4. 1
    7 Things You Can Do To Improve Your Blog (Most of which you haven’t done) Says:

    [...] But…you can still enable them! All you need to do is insert the code which calls for the commentators gravatar. Here’s how to enable them if you use wordpress. [...]

Leave a Reply

Ratified.org Philippines Green Web Hosting! This site hosted by DreamHost.

RSS Feed Google Plus Page LJDiaz FB FanPage Follow Me! LJDiaz.com On OVI! Download Now!

Featured & Popular Articles