Gravatars and Blavatars

WordPress.com VIP platform specific

This document is for sites running on WordPress.com VIP.

Learn more

Overview #

↑ Top ↑

Gravatars #

A Gravatar is a Globably Recognized Avatar (and Profile), a service by Automattic that allows any person to assign an image to an email address. WordPress.com makes extensive use of Gravatars whenever possible, and we recommend using them in your theme and assigning a Gravatar to every author.

For user profiles and Gravatar management instructions, please visit the Gravatar and Public Profile pages on the WordPress.com support site.

To learn how to implement Gravatars in your site theme, please visit Using Gravatars in the WordPress.org codex.

Tip: If you are not seeing avatars on your site, check to make sure Avatar Display is enabled in Settings -> Discussion.

↑ Top ↑

Blavatars #

Blavatars are site icons which are automatically used on WordPress.com as the site favicon, iPhone home screen icon, etc.
You can set your site Blavatar under My Sites (top left corner) > Settings -> General tab in the Calypso dashboard.

Note: If your theme already contains a reference to an icon in the header.php file, the blavatar will be ignored.

You can also use the blavatar directly in your theme, with the following functions:

blavatar_exists( $domain )
get_blavatar( $url, $size = '96')
blavatar_current_domain()

Example:

if ( blavatar_exists( blavatar_current_domain() ) )
    echo get_blavatar( blavatar_current_domain(), 128);

↑ Top ↑

Disabling #

If you are not using Gravatars and Blavatars and need to disable the loading of related Javascript and CSS resources, you can use wpcom_vip_disable_hovercards() in your theme.

In case the built-in site favicon functionality, Blavatar, does not suit your needs, it can be disabled by calling wpcom_vip_disable_blavatar_icons() function from theme’s functions.php file.

Ready to get started?

Drop us a note.

No matter where you are in the planning process, we’re happy to help, and we’re actual humans here on the other side of the form. 👋 We’re here to discuss your challenges and plans, evaluate your existing resources or a potential partner, or even make some initial recommendations. And, of course, we’re here to help any time you’re in the market for some robust WordPress awesomeness.