How To Change Gravatar In WordPress

Using Gravatar on WordPress blogs is on the rise as more and more bloggers, theme designers, developers, etc., are preferring Gravatar over the default Avatar (Mystery Man). If you are using WordPress blogging platform and looking for a way to change the default Gravatar, you are in the right place as I have given a step by step guide to change Gravatar in WordPress.

By following the tutorial given here, you will be able to change the default avatar in WordPress to a custom Gravatar specifically designed for your business website or blog.

Tutorial To Change Gravatar In WordPress:

1) To get started, prepare a branded image for your WordPress blog or website (it could be your logo or you can use a custom-designed image). Once done, rename it to gravataricon.gif and save it in your desktop.

2) Now log into your cPanel and open up “File Manager”. Next, follow this path: public_html -> wp-content -> themes -> (your WordPress theme name) -> images and upload the “gravataricon.gif“. If you have followed this step carefully, your gravatar icon will be uploaded in this path: yourdomain.com/wp-content/(your theme name)/images/gravataricon.gif

3) Next, log into your WordPress dashboard and click on “Appearance -> Editor“. Now open up “functions.php” and add the following code:

4) Now click on “Discussion” under the “Settings” tab and change the “Default Avatar” to your custom Gravatar.

That’s it. Now you have successfully changed the default avatar to a custom Gravatar in your WordPress blog or website. If someone without a Gravatar account posts a comment in your WordPress blog or website, the new custom Gravatar will show up as their image instead of the default Mystery Man.

If you encounter any issues while following this tutorial, do let me know via comments.