Add User Profile Picture Uploader to WordPress
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="[email protected]"]
You can also embed the uploader as a widget.
Below is a preview of the uploader.