WordPress currently only allows you to use custom avatars that are uploaded through GravatarWP 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.

Introducing Support Desk

We're at FlipperCode, committed to excellent support to make every download worth for the user. Happily announcing Support Desk for our valuable users to engaged with multiple support desk person for fast turnout.

Introducing Pro Version of WP USER AVATAR

We have developed a Pro Version of WP USER AVATAR by getting valuable features request from thousands of users especially about Storage options and how user upload the avatar. Here is a quick highlight on the numerous customizable features offered by the WP USER AVATAR PRO .

  • Easy Upload and Capture functionality with crop avatar options.
  • Use Webcam to get Avatar instantly.
  • Allow user to upload avatar on Registration Page.
  • Easy to adjust avatar dimensions.
  • Enable to add or edit avatar while adding existing user to the blog in multi-site network.
  • Keep Avatars in Custom Folder instead of Media Manager.
  • Keep Avatars on Amazon S3 Storage
  • Keep Avatars on Dropbox
  • Keep Avatars in Media Manager
  • Easy to use Settings to control every functionality.
  • Multi-lingual, Multi-Site, BBPRESS and Buddypress Supported.

Innovative Way to Setup User Avatar :


Visit WP User Avatar for more information and documentation.

  1. Download, install, and activate the WP User Avatar plugin.
  2. On your profile edit page, click "Edit Image".
  3. Choose an image, then click "Select Image".
  4. Click "Update Profile".
  5. Upload your own Default Avatar in your WP User Avatar settings (optional). You can also allow Contributors & Subscribers to upload avatars and disable Gravatar.
  6. Choose a theme that has avatar support. In your theme, manually replace get_avatar with get_wp_user_avatar or leaveget_avatar as-is. Read about the differences here.
  7. You can also use the [avatar_upload] and [avatar]shortcodes in your posts. These shortcodes will work with any theme, whether it has avatar support or not.

Example Usage


Within The Loop, you may be using:

<?php echo get_avatar(get_the_author_meta('ID'), 96); ?>

Replace this function with:

<?php echo get_wp_user_avatar(get_the_author_meta('ID'), 96); ?>

You can also use the values "original", "large", "medium", or "thumbnail" for your avatar size:

<?php echo get_wp_user_avatar(get_the_author_meta('ID'), 'medium'); ?>

You can also add an alignment of "left", "right", or "center":

<?php echo get_wp_user_avatar(get_the_author_meta('ID'), 96, 'left'); ?>

Author Page

On an author page outside of The Loop, you may be using:

  $user = get_user_by('slug', $author_name); 
  echo get_avatar($user->ID, 96);

Replace this function with:

  $user = get_user_by('slug', $author_name);
  echo get_wp_user_avatar($user->ID, 96);

If you leave the options blank, WP User Avatar will detect whether you're inside The Loop or on an author page and return the correct avatar in the default 96x96 size:

<?php echo get_wp_user_avatar(); ?>

The function get_wp_user_avatar can also fall back to get_avatarif there is no WP User Avatar image. For this to work, "Show Avatars" must be checked in your WP User Avatar settings. When this setting is enabled, you will see the user's Gravatar avatar or Default Avatar.


For comments, you might have in your template:

<?php echo get_avatar($comment, 32); ?>

Replace this function with:

<?php echo get_wp_user_avatar($comment, 32); ?>

For comments, you must specify the $comment variable.

Other Available Functions

[avatar_upload] shortcode

You can 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. If you want to integrate the uploader into a profile edit page, see Other Notes.

You can specify a user with the shortcode, but you must haveedit_user capability for that particular user.

[avatar_upload user="admin"]

[avatar] shortcode

You can use the [avatar] shortcode in your posts. It will detect the author of the post or you can specify an author by username. You can specify a size, alignment, and link, but they are optional. For links, you can link to the original image file, attachment page, or a custom URL.

[avatar user="admin" size="medium" align="left" link="file" /]

You can also add a caption to the shortcode:

[avatar user="admin" size="medium" align="left" link="file"]Photo Credit: Your Name[/avatar]

Note: If you are using one shortcode without a caption and another shortcode with a caption on the same page, you must close the caption-less shortcode with a forward slash before the closing bracket:[avatar /] instead of [avatar]


Works just like get_wp_user_avatar but returns just the image src. This is useful if you would like to link a thumbnail-sized avatar to a larger version of the image:

<a href="<?php echo get_wp_user_avatar_src($user_id, 'large'); ?>">
  <?php echo get_wp_user_avatar($user_id, 'thumbnail'); ?>


Returns true if the user has a WP User Avatar image. You must specify the user ID:

  if ( has_wp_user_avatar($user_id) ) {
    echo get_wp_user_avatar($user_id, 96);
  } else {
    echo '<img src="my-alternate-image.jpg" />';