How do I add an avatar to each WordPress contributor/author profile?
-
Do I need a plugin? Each author's profile has been created, but their avatar appears as the generic icon.
-
Answer:
Wordpress uses Gravatar. So authors, contributors and even commenters avatars come from Gravatar. Wordpress checks gravatar for an avatar in its database that matches the email of the author, contributor or commenter, and if there isn't one it shows the default "mystery man." To get a Gravatar, just go to http://gravatar.com and sign up, using the same email you do in your wordpress profile.
Jamie Perkins at Quora Visit the source
Other answers
Both options can work, but I've used a combination of plugins before that may meet your needs. Add New Default Avatar - This plugin allows you to create a new default avatar for comments from users that don't have Gravatars or something already selected in your WP site. - http://trepmal.com/plugins/add-new-default-avatar/ User Avatar - This plugin allows your users to create their own custom avatars for your site. This is great for a community-based site. - http://wordpress.org/extend/plugins/user-avatar/ I sincerely hope this helps!
Brandon Coppernoll
If the authors aren't interested in Gravatar, plugins such as Simple Local Avatars (http://wordpress.org/extend/plugins/simple-local-avatars/) and User Photo (http://wordpress.org/extend/plugins/user-photo/) are both good solutions.
Erick Hitter
For authors who do not have a Gravatar account or for authors who have an off-line presense you can provide them with avatar but you will need to make edits to your single.php file and manually upload their photo. *Self plug* I wrote a post on this called, Displaying Author Pic and Bio in Your WordPress Post http://gabediaz.com/blog/displaying-author-pic-and-bio-in-your-wordpress-post/ Essentially you first make sure that all of your author information is filled out in your profile. Using the information you put in your name field we can have WordPress look for a image in a folder that matches what was entered in your First Name field ie FirstName.jpg. <div class="authbio"> <img src="<?php bloginfo('template_url'); ?>/images/<?php the_author_firstname(); ?>.jpg" alt="" class="alignleft"/> <?php the_author_description(); ?> </div> In the above code the author image would be located in the themes/images folder and the displayed image file name would match what was entered in the author's profile section under First Name. The code above is a static option because once entered into your Single.php file it would always display an author pic/bio box so it's best used for when using custom single post templates by category as in all of Author B's posts within Category X will display an author pic/bio. If you wish to turn on the above author pic/bio on a post to post basis you could read, Enabling Author Pic and Bio for WordPress Single Posts http://gabediaz.com/blog/enabling-author-pic-and-bio-for-wordpress-single-posts/
Gabe Diaz
In addition to 's reply, I would add that you can easily change the look of that generic icon if you'd like. Simply paste the following code in the functions.php file of your theme: http://wordpress.pastebin.com/mdyGYAUS Of course, you'll have to replace the path to image I wrote down for the one of your default image.
Jeremy Herve
You can use Gravatar to add an avatar to each wordpress author, contributor or commenter. This gravatar is attached to an email id. So to use this avatar they would have to use that email id . This avatar will be used wherever you comment or in many sites where you create your profile using that email id. So to create your Avatar Go To Gravatar an add an image you want to show as your avatar. If you want to add custom avatar to each of the user roles then Jeremy's & Brandon's answer will guide you.
Rahul Tilloo
I use WP Gravatar http://wordpress.org/extend/plugins/wp-gravatar/ however - some people have found that it adds the gravatar to the pages as well as the post despite putting a check mark in the box saying "exclude from pages" - but there is a fix if your ok with editing the plugin http://wordpress.org/support/topic/exclude-pages-isnt-exlcuding-pages I recently put this one on a new site and it worked great http://wordpress.org/extend/plugins/display-avatars/ - Display Avatar
Malita Jones
Related Q & A:
- How do I add custom attributes to javascript tags in Wordpress?Best solution by WordPress
- How do I get my avatar on my profile?Best solution by Yahoo! Answers
- How do I get my avatar to my Yahoo profile?Best solution by Yahoo! Answers
- How do I get my Avatar onto my picture on my profile?Best solution by Yahoo! Answers
- How do I put my avatar as my profile picture?Best solution by Yahoo! Answers
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.