Gravatar Shortcode

0

Allows you to use a shortcode in your Posts and Pages to embed a Gravatar quickly and easily just using an email address. Options In addition to email=””, you can also include the f

Version
Last updated
Active installations
WordPress Version
Tested up to
Rating
Total ratings
Tag
This plugin is outdated and might not be supported anymore.

Description

Allows you to use a shortcode in your Posts and Pages to embed a Gravatar quickly and easily just using an email address.

Options

In addition to email=””, you can also include the following attributes within the shortcode for extra formatting etc:

See http://dentedreality.com.au/projects/wp-plugin-gravatar-shortcode/ for more examples.

  • email: the email address to display the Gravatar for
  • size: a number (e.g. 60) representing the pixel size of the Gravatar to display (they are square)
  • rating: a letter restricting the maxiumum rating of Gravatar to display (g, pg, r, x)
  • default: the default image to use if there isn’t one associated with this email address (otherwise it will use the Gravatar.com default)
  • alt: the “alt” attribute to apply to the img tag produced
  • title: title attribute for the img tag
  • align: align attribute for the img, should be left, right, absmiddle, baseline etc
  • style: custom style attribute (e.g. ‘margin: 5px; border: solid 1px #000;’)
  • class: add a class to the img tag
  • id: add an id to the img tag for specific styling/DOM manipulation.
  • border: adjust the border attribute for the img