Beginner's Guide for WordPress - Start your WordPress Blog in minutes.
Choosing the Best
WordPress Hosting
How to Easily
Install WordPress
Recommended
WordPress Plugins
View all Guides

How to Add New Default Avatars in WordPress

Last updated on by
Follow WPBeginner on YouTube
How to Add New Default Avatars in WordPress

About 3 years ago, we showed you how to change the default gravatar in WordPress using the code method. In this article, we will show you how to add new default avatars in WordPress using a plugin, so you can do so without editing a single line of code.

Why default Avatars?

By default, WordPress uses gravatar to display user’s avatars based on their email [see our article on What is a Gravatar and why you should be using it]. If a user is not registered with gravatar, then it shows a mystery man avatar. You can customize it to match your site’s branding if you want.

Video Tutorial

If you donĂ­t like the video or need more instructions, then continue reading.

To do this, simply install and activate Add New Default Avatar plugin.

Upon activation, simply go to the media library to upload an image you want the gravatar to be. It’s probably best if you upload the exact size image. So if your site’s gravatar are 48 x 48 pixels, then use that dimension. Once you have done that, go to Settings » Discussion.

There are fields in the gravatar area which lets you add the name and image URL.

Default Avatar

The only downside about this plugin that we saw was that it doesn’t allow you to delete the avatar once you add it. But you can always change default avatars if you like.


Editorial Staff at WPBeginner is a team of WordPress lovers led by Syed Balkhi. Page maintained by Syed Balkhi.

WPBeginner's Video Icon
Our HD-Quality tutorial videos for WordPress Beginners will teach you how to use WordPress to create and manage your own website in about an hour. Get started now »
  • Owen

    The plugin works. Thanks for the article!

  • TD

    I know very little about codes, and I’m just learning how to activate plugins. All I want to do is upload an image from my computer to use as my avatar. How do I get a URL for my image?

  • Mladen

    I want to do this from a long time. But have one question. What do you think is the best method to do it – with code or this plugin? I have read your post about “How many plugins should we have installed”, but still wondering about this.
    Thanks.

    • Gautam Doddmani

      i think the code way is the best method because it only involves dropping a function into the functions.php file…activating a new plugin just to get that functionality is kind of far fetched but i guess this method is best tailored towards ppl who are not coding enthusiasts :)

  • Haseeb Ahmad Ayazi

    Your post help me alot. Thanks