OTHER DOCS Available


This shortcode displays a gravatar image for the logged in user based on their email address.

Shortcode Examples


The below image shows the default Gravatar for a user.


[memb_gravatar size=64]

Displays Gravatar in 64 pixels.

Shortcode Parameters​

size: Use this parameter to specify the size of the Gravatar. Defaults to 32px.

title: The title of the Gravatar.

default: Specify a default image (with URL) to display when no matching Gravatar is found.

alt: The alt text (alternative text) for the image.

rating: Specify a rating for Gravatar. Example, g, pg, r and x. Defaults to “g” rating.

email: Specify an email address to display the Gravatar for (Optional, by default it will display Gravatar for user’s email).

The word “Gravatar” stands for Globally Recognized Avatar. It is globally recognized because they are widely used by millions of websites. Each Gravatar is uniquely tied to the person’s email address.

Shortcode Attributes

Conditional: No (?)
Nestable: No (?)
Accepts formatting: No (?)
Capturable: No (?)

9 ways to add more value to your membership site


This Applies To