Helping Organisations get organised!

Shortcodes

Outputs a single user’s avatar. It works inline, for example at the start of a sign-off paragraph, which a block cannot do. Outputs nothing if user_id or size is missing or not a positive number.

Attribute Default Notes
user_id (none) The user whose avatar is shown. Required.
size 96 Avatar size in pixels.

Attributes pass through the standard shortcode_atts_lh_user_profiles_avatar filter.

Removed: the listing shortcode

Versions 1.00 to 1.1.1 also provided [lh_user_profiles_shortcode], which listed people by include (user IDs) and fields (contact lines, defaulting to email,phone). It was removed in 1.2.0. Use the User Profiles block instead, which produces the same output; note that the block shows no contact details unless you turn them on. Any remaining copy of the old shortcode in content will now display as plain text.

If you like this plugin please consider making a donation to further development