- Active installs
- 700+
- 2 ratings
- 5.0
- Last updated
- 3 years ago
- Version
- 1.2.2
- Tested up to
- WP 6.3.15
About this plugin
WordPress currently only allows you to use custom avatars that are uploaded through Gravatar. WP User Avatar enables you to use any photo uploaded into your Media Library as an avatar. This means you use the same uploader and library as your posts. No extra folders or image editing functions are necessary.
WP User Avatar also lets you:
- Upload your own Default Avatar in your WP User Avatar settings.
- Show the user’s Gravatar avatar or Default Avatar if the user doesn’t have a WP User Avatar image.
- Disable Gravatar avatars and use only local avatars.
- Use the
[avatar_upload]shortcode to add a standalone uploader to a front page or widget. This uploader is only visible to logged-in users. - Use the
[avatar]shortcode in your posts. These shortcodes will work with any theme, whether it has avatar support or not. - Allow Contributors and Subscribers to upload their own avatars.
- Limit upload file size and image dimensions for Contributors and Subscribers.
ADD WP USER AVATAR TO YOUR OWN PROFILE EDIT PAGE
You can use the [avatar_upload] shortcode to add a standalone uploader to any page. It’s best to use this uploader by itself and without other profile fields.
If you’re building your own profile edit page with other fields, WP User Avatar is automatically added to the show_user_profile and edit_user_profile hooks. If you’d rather have WP User Avatar in its own section, you could add another hook:
do_action('edit_user_avatar', $current_user);
Then, to add WP User Avatar to that hook and remove it from the other hooks outside of the administration panel, you would add this code to the functions.php file of your theme:
HTML WRAPPER
You can change the HTML wrapper of the WP User Avatar section by using the functions wpua_before_avatar and wpua_after_avatar. By default, the avatar code is structured like this:
<div class="wpua-edit-container">
<h3>Avatar</h3>
<input type="hidden" name="wp-user-avatar" id="wp-user-avatar" value="{attachmentID}" />
<p id="wpua-add-button">
<button type="button" class="button" id="wpua-add" name="wpua-add">Edit Image</button>
</p>
<p id="wpua-preview">
<img src="{imageURL}" alt="" />
Original Size
</p>
<p id="wpua-thumbnail">
<img src="{imageURL}" alt="" />
Thumbnail
</p>
<p id="wpua-remove-button">
<button type="button" class="button" id="wpua-remove" name="wpua-remove">Default Avatar</button>
</p>
<p id="wpua-undo-button">
<button type="button" class="button" id="wpua-undo" name="wpua-undo">Undo</button>
</p>
</div>
To strip out the div container and h3 heading, you would add the following filters to the functions.php file in your theme:
<?php
remove_action('wpua_before_avatar', 'wpua_do_before_avatar');
remove_action('wpua_after_avatar', 'wpua_do_after_avatar');
?>
To add your own wrapper, you could create something like this:
<?php
function my_before_avatar() {
echo '<div id="my-avatar">';
}
add_action('wpua_before_avatar', 'my_before_avatar');
function my_after_avatar() {
echo '</div>';
}
add_action('wpua_after_avatar', 'my_after_avatar');
?>
This would output:
<div id="my-avatar">
<input type="hidden" name="wp-user-avatar" id="wp-user-avatar" value="{attachmentID}" />
<p id="wpua-add-button">
<button type="button" class="button" id="wpua-add" name="wpua-add">Edit Image</button>
</p>
<p id="wpua-preview">
<img src="{imageURL}" alt="" />
<span class="description">Original Size</span>
</p>
<p id="wpua-thumbnail">
<img src="{imageURL}" alt="" />
<span class="description">Thumbnail</span>
</p>
<p id="wpua-remove-button">
<button type="button" class="button" id="wpua-remove" name="wpua-remove">Default Avatar</button>
</p>
<p id="wpua-undo-button">
<button type="button" class="button" id="wpua-undo" name="wpua-undo">Undo</button>
</p>
</div>
Analytics
Live from WordPress.org, refreshed daily. Last refresh Nov 30, 2026.
- Downloads on a typical day are up 40% on the month before.
- Passes 1 of 3 health checks below.
Health checks
What a careful site owner looks at before installing.
- Actively maintained Last release 3 years ago
- Tested with current WordPress Tested up to 6.3.15, 8 releases behind
- Support questions answered Nothing open in the last two months
- Well rated Only 2 ratings so far
- Latest week
- 106
- Typical week
- 36
- Peak
- 114 Week of Nov 16
View as table
| Week | Downloads |
|---|---|
| Week of Nov 23 | 106 |
| Week of Nov 16 | 114 |
| Week of Nov 9 | 75 |
| Week of Nov 2 | 95 |
| Week of Oct 26 | 88 |
| Week of Oct 19 | 66 |
| Week of Oct 12 | 70 |
| Week of Oct 5 | 65 |
| Week of Sep 28 | 83 |
| Week of Sep 21 | 61 |
| Week of Sep 14 | 62 |
| Week of Sep 7 | 58 |
| Week of Aug 31 | 52 |
| Week of Aug 24 | 51 |
| Week of Aug 17 | 46 |
| Week of Aug 10 | 51 |
| Week of Aug 3 | 52 |
| Week of Jul 27 | 43 |
| Week of Jul 20 | 50 |
| Week of Jul 13 | 41 |
| Week of Jul 6 | 40 |
| Week of Jun 29 | 40 |
| Week of Jun 22 | 26 |
| Week of Jun 15 | 34 |
| Week of Jun 8 | 41 |
| Week of Jun 1 | 28 |
| Week of May 25 | 28 |
| Week of May 18 | 33 |
| Week of May 11 | 41 |
| Week of May 4 | 35 |
| Week of Apr 27 | 35 |
| Week of Apr 20 | 34 |
| Week of Apr 13 | 36 |
| Week of Apr 6 | 31 |
| Week of Mar 30 | 42 |
| Week of Mar 23 | 35 |
| Week of Mar 16 | 35 |
| Week of Mar 9 | 35 |
| Week of Mar 2 | 30 |
| Week of Feb 23 | 33 |
| Week of Feb 16 | 27 |
| Week of Feb 9 | 35 |
| Week of Feb 2 | 31 |
| Week of Jan 26 | 26 |
| Week of Jan 19 | 35 |
| Week of Jan 12 | 26 |
| Week of Jan 5 | 22 |
| Week of Dec 29, 2025 | 35 |
| Week of Dec 22, 2025 | 24 |
| Week of Dec 15, 2025 | 35 |
| Week of Dec 8, 2025 | 28 |
| Week of Dec 1, 2025 | 35 |
Not ranked yet. Install, download and rating ranks cover the 5,000 most popular plugins on WordPress.org, and Trending needs about 100 downloads on a typical day.
Reviews
From folks on WPFolks
No reviews from folks yet. Used it? Be the first to say how it went.
Latest on WordPress.org
Great plugin, very handy to have. This topic was modified 4 years, 9 months ago by ChickenDipper.
Very easy to use, and powerful. Nice job!
