Description
This shortcode displays a gravatar image for the logged in user based on their email address.
Shortcode Examples
[memb_gravatar]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). |
Shortcode Attributes
| Conditional | No |
|---|---|
| Nestable | No |
| Accepts formatting | No |
| Capturable | No |
