Horje
Use any image from your WordPress Media Library as a custom user avatar or user profile picture. Add your own Default Avatar.

Noted That:

  • To install correctly this wp-user-avatar.zip .
  • Fisrt Download the wp-user-avatar.zip to your computer
  • Extract/Open wp-user-avatar.zip to Your Computer.
  • Then, Find readme.txt file inside wp-user-avatar.zip and Open readme.txt .
  • Now, Read the Requirements of this plugin. Which Wordpress Version and PHP Version are required to run this Plugin in Your Wordpress Site.
  • Then, Follow the Tips Below.

Start the Tips:

1. First Download " wp-user-avatar.zip " Plugin to your Local Computer. (Click Download)

2. Then, Login to your " yourdomain.com/wp-admin " Dashboard.

/stack/wp/e1593231376d7d849d2-4597-4fa3-a6ff-1eca18f72aab.png

3. Then, Click on " Plugins " + " Add New " from left sidemenu of Dashboard.

/stack/wp/e1593231378Screenshot20.png

4. Now, Click on "Upload Plugin" button.

/stack/wp/e1593231380Screenshot-2019-4-2AddPluginsHorjeWordPress.png

 

5. Now, Browse " wp-user-avatar.zip "  Downloaded plugin from your computer, Where you downloaded wp-user-avatar.zip According to Step – 1 Above then, click on " Install Now"

/stack/wp/e15931461531577025694plugin.png

6. Now, Click on " Active Plugin"

/stack/wp/e15932313830ca45529-bf73-4101-8178-53ae60ce549f.png

7. Then, See left sidemenu. " WP User Avatar | User Profile Picture " folder is added on left sidemenu. Now, Click on " WP User Avatar | User Profile Picture " folder.

   Noted that: If you do not see " WP User Avatar | User Profile Picture " folder on left sidemenu then, see at left sidemenu " Settings " or " Tools ".

8. Now you configure yourself oR Watch video tutorial below about  WP User Avatar | User Profile Picture Configurtions and Settings or How to work " WP User Avatar | User Profile Picture " in your WordPress site.

 

oR

After Activated Plugin According to Step-6 then,

  1. Go to " Plugins " + " Installed Plugin " from Wordpress Admin Panel Leftside Menu.
  2. or Direct go to: https://yourdomain/wp-admin/plugins.php
  3. Then, Find " WP User Avatar | User Profile Picture " Activated Plugin from Plugin List.
  4. Then, Click on " Settings " from Plugin that is WP User Avatar | User Profile Picture
  5. Now, Edit/Add/Config the setting and Click on " Save Changes " button,
WP Plugin Setting



Guide

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 leave get_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

Posts

Within The Loop , you may be using:




Replace this function with:




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




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




Author Page

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



ID, 96);
?>

Replace this function with:



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 96×96 size:




The function get_wp_user_avatar can also fall back to get_avatar if 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.

Comments

For comments, you might have in your template:




Replace this function with:




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 have edit_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]

get_wp_user_avatar_src

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:



 


has_wp_user_avatar

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



'; }
?>


avatar , user , picture , default , profile , media , custom , image , library ,

Name

Reffered: https://wordpress.org/