How To Enable Gravatar On Your Blog Comments

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

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 I Reduce Hosting Backup File Size

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

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

  1. 3
    Louis James Diaz Says:

    Glad that one helped you out! Happy blogging!

  2. 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!!!

  3. 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 Add to Technorati Favorites

RSS Feed Mailing List Add Me Up On FB! Follow Me!

Featured & Popular Articles