Beginner's Guide for WordPress / Start your WordPress Blog in minutes

How to Disable Gravatars in WordPress

Avatar allow users to give their online profiles an instantly identifiable persona. WordPress uses Gravatars as the default avatar platform. It allows WordPress users to have the same avatar displayed on any gravatar enabled website. However, in some cases you may not want to display gravatars on your WordPress site. In this article, we will show you how to disable gravatars in WordPress.

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 log in to your WordPress site and go to Settings » Discussion. Scroll down to the Avatars section and uncheck the box next to ‘Show Avatars’ option. You will need to click on the Save Changes button to store your settings.

Uncheck Show Avatars to disable gravatar in WordPress

That’s all you have successfully disabled Gravatar on your WordPress site. Your comments will not show user gravatars. You will also not see gravatars anywhere in WordPress admin area. User gravatars will not appear on Comments and Users screen, your gravatar from WordPress admin bar will also disappear.

Gravatar free WordPress Backend

Even though you have disabled gravatar on your WordPress site, you can still show them selectively if you need. For example, you can display gravatar in author info box, or display gravatar from user email anywhere on your site.

We hope this article helped you disable gravatar on your site.

If you liked this article, then subscribe to our YouTube Channel or catch us on Twitter.

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.

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

17 CommentsLeave a Reply

  1. Agree with Dave:
    Gravatar still calls home. You can see this when you use Ghostery – and a Gravatar tracker is still active. This does not comply with GDPR in my opinion.

    Question:
    How can Gravatar completely disabled and ripped away from a wordpress blog???

    Thanks!

  2. Very helpful advice and it works. But still leaves my name on the page below where the gravatar used to be. Any solution?

  3. I have successfully disable gravatars, but would like my gravatar to be displayed in the author info box. How can I accomplish this?

  4. Instead of dabbling with PHP, you could simply hide the avatar by adding the following CSS at the end of the stylesheet:


    .comment-author .avatar {
    display: none;
    }

    • That’s possible. However, the gravatar will still be visible to crawlers. One reason that some users may not want gravatar could be that they are building something where they simply don’t need it.

      Admin

  5. Is that possible to replace the Gravatar with another generic icon when the person commenting has got no Gravatar?

  6. This disables WordPress from showing Avatars, but it does NOT disable Gravatar. On the back end, it still calls home to Gravatar slowing your site down.

    What’s needed is the ability to rip Gravatar out of WordPress.

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.