Profile Picture Uploader Shortcode & Widget - ProfilePress

Profile Picture Uploader Shortcode & Widget

To let users upload and update their profile pictures or avatars, use the [avatar_upload] shortcode to put a standalone uploader on any page, post, sidebars, widgets or wherever you want it to show. This uploader is only visible to logged-in users.

The shortcode can accept the following attributes.

Attribute Description
user Can be a user ID, username, email address or slug. If empty or not specified, it defaults to the currently logged-in user.

Example: [avatar_upload user="john@gmail.com"]

You can also embed the uploader as a widget.

Below is a preview of the uploader.