Skip to content
  • Log In
  • Register
WordPress.org

Kalaallisut

  • Themes
  • Plugins
  • News
  • About
  • Contact
  • Get WordPress
Get WordPress

Plugins

  • My Favorites
  • Beta Testing
  • Developers

This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Download

author-avatar

By Guillaume Kanoufi
  • Details
  • Reviews
  • Installation
  • Development
Support

Description

Add an upload field in the user profile admin – Don’t want to use gravatar profile picture, or just don’t have one, just download this plugin. It will add a custom field in the user admin with the possibility to upload your own. Once uploaded, it will add the picture url inside the usermeta table so you can easily display it with get_the_author_meta .

Translation ready and already available in French.

  • Easy to use, once activated and your picture uploaded, grab the source url with:

Just add an image tag where you want the picture to be displayed like so:

 <img src="<?php echo $user_meta_image;?>" alt="My Custom user Profile Picture"> 

Et voilĂ !

Installation

  1. Upload “ to the /wp-content/plugins/ directory
  2. Activate the plugin through the “Plugins” menu in WordPress
  3. grab the source url with $user_meta_image = esc_attr( get_the_author_meta( 'user_meta_image', get_the_id() ) );. Just add an image tag where you want the picture to be displayed like so: <img src="<?php echo $user_meta_image;?>" alt="My Custom user Profile Picture">
  4. Style as you wish.

FAQ

What about if i want to use a user profile picture outside of it’s author page?

It’s pretty easy, just change the last parameter “get_the_id()” wjth the id of the user you want to show, as follow:
$user_meta_image = esc_attr(get_the_author_meta(‘user_meta_image’, 1));

Reviews

There are no reviews for this plugin.

Contributors & Developers

“author-avatar” is open source software. The following people have contributed to this plugin.

Contributors
  • Guillaume

Translate “author-avatar” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

1.0

  • Initial Commit

Meta

  • Version: 1.0.2
  • Last updated: 9 years ago
  • Active installations: 50+
  • WordPress Version: 3.5.1 or higher
  • Tested up to: 3.7.41
  • Language:
    English (US)
  • Tags:
    author avatargravatarprofile pictureuser profile
  • Advanced View

Ratings

This plugin has not been rated yet.

Log in to submit a review.

Contributors

  • Guillaume

Support

Got something to say? Need help?

View support forum

Donate

Would you like to support the advancement of this plugin?

Donate to this plugin

  • About
  • News
  • Hosting
  • Donate
  • Swag
  • Documentation
  • Developers
  • Get Involved
  • Learn
  • Showcase
  • Plugins
  • Themes
  • Patterns
  • WordCamp
  • WordPress.TV
  • BuddyPress
  • bbPress
  • WordPress.com
  • Matt
  • Privacy
  • Public Code
WordPress.org
WordPress.org

Kalaallisut

  • Visit our Facebook page
  • Visit our Twitter account
  • Visit our Instagram account
  • Visit our LinkedIn account
Code is Poetry.