Trusted WordPress tutorials, when you need them most.
Beginner’s Guide to WordPress
WPB Cup
25 Million+
Websites using our plugins
16+
Years of WordPress experience
3000+
WordPress tutorials
by experts

How to Set Custom Avatars for Users in WordPress (Gravatar Alternative)

Editorial Note: We earn a commission from partner links on WPBeginner. Commissions do not affect our editors' opinions or evaluations. Learn more about Editorial Process.

Have you ever wanted to set custom avatars for users who leave comments with no Gravatar? Or want to get rid of gravatar altogether and speed up your page load time? In this article, we will show you a gravatar alternative that allows you to use the first letter in user’s name as their avatar for WordPress comments.

Preview of discourse like first letter avatars in WordPress comments

Video Tutorial

Subscribe to WPBeginner

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

First thing you need to do is install and activate the WP First Letter Avatar plugin. Upon activation, you need to visit Settings » WP First Letter Avatar to configure the plugin settings.

First letter avatar settings

On the plugin’s settings page, you can choose a set of icons. Currently, it only comes with a default set of icons which is already selected.

If you want to replace Gravatar on your site completely, then you need to uncheck ‘Use Gravatar’ box. Once you are done, click the save changes button to store your settings.

You can now visit your website to see this plugin in action.

If you selected to use Gravatar, then it will only show first letter avatars for users who do not have a Gravatar image associated with their email address. If you chose to replace gravatar, then this plugin will show the first in user’s name as their avatar.

In the Gmail app, Google displays the first letter of sender’s name if the contact doesn’t have a photo, so this is a pretty clever way of following that trend.

That’s all we hope this article helped you set custom avatars for users in WordPress as a Gravatar alternative.

You may also want to take a look at this tutorial on how to display author’s Gravatar on their posts in WordPress.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Google+.

Disclosure: Our content is reader-supported. This means if you click on some of our links, then we may earn a commission. See how WPBeginner is funded, why it matters, and how you can support us. Here's our editorial process.

Editorial Staff

Editorial Staff at WPBeginner is a team of WordPress experts led by Syed Balkhi with over 16 years of experience in WordPress, Web Hosting, eCommerce, SEO, and Marketing. Started in 2009, WPBeginner is now the largest free WordPress resource site in the industry and is often referred to as the Wikipedia for WordPress.

The Ultimate WordPress Toolkit

Get FREE access to our toolkit - a collection of WordPress related products and resources that every professional should have!

Reader Interactions

4 CommentsLeave a Reply

  1. Syed Balkhi says

    Hey WPBeginner readers,
    Did you know you can win exciting prizes by commenting on WPBeginner?
    Every month, our top blog commenters will win HUGE rewards, including premium WordPress plugin licenses and cash prizes.
    You can get more details about the contest from here.
    Start sharing your thoughts below to stand a chance to win!

Leave A Reply

Thanks for choosing to leave a comment. Please keep in mind that all comments are moderated according to our comment policy, and your email address will NOT be published. Please Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.

WPBeginner Assistant
How can I help you?

By chatting, you consent to this chat being stored according to our privacy policy and your email will be added to receive weekly WordPress tutorials from WPBeginner.