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

135

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+.