WP User Avatar | User Profile Picture free WordPress plugin
Description
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. Advanced Settings Visit WP User Avatar for more information and documentation. 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: function my_avatar_filter() { // Remove from show_user_profile hook remove_action(‘show_user_profile’, array(‘wp_user_avatar’, ‘wpua_action_show_user_profile’)); remove_action(‘show_user_profile’, array(‘wp_user_avatar’, ‘wpua_media_upload_scripts’)); // Remove from edit_user_profile hook
Features
Cost:
Free
Provider:
ProfilePress
Popularity:
Medium
WPMarket

