Gravatars and Blavatars

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.

You’ll also want to disable the default favicon redirect with remove_action( 'init', 'dynamic_favicon' );

You can disable the built-in site icon functionality by including the following in your functions.php file:

remove_action( 'init', 'dynamic_favicon' );
remove_action( 'wp_head', 'blavatar_add_meta' );
remove_action( 'admin_head', 'blavatar_add_meta' );

Ready to get started?

Tell us about your needs

Let us lead the way. We’ll help you select a top tier development partner. We’ll train your developers, operations, infrastructure, and editorial teams. We’ll coarchitect your deployment processes. We will provide live support for peak events. We’ll help your people avoid dark alleys and blind corners, and reduce wasted cycles.