Lets you easily add author images on your site.
The Author Image plugin for WordPress lets you easily add author images on your site.
It creates a widget that you can insert in a sidebar, or much about anywhere if using the Semiologic theme.
Alternatively, you can place the following call in the loop where you want the author image to appear:
<?php the_author_image($author_id = null); ?> This $author_id parameter is optional. If it is not passed in, the code will attempt to get the current author of the page/post.
A second version of this function exists whereby you can pass in width and height to display the image.
<?php the_author_image_size($width, $height, $author_id = null); ?> This $author_id parameter is optional. If it is not passed in, the code will attempt to get the current author of the page/post.
To configure your author image, browse Users / Your Profile in the admin area.
You can adjust the actual display size in the Author Image widget or by using the_author_image_size function call.
If you do not specify a size the width and height of the actual image will be used.
You can configure the widget so it outputs the author's description in addition to his image.
This fits well on a site where the author's image is placed in a sidebar, or the Semiologic theme when the widget is placed immediately after the posts' content -- i.e. "About The Author."
The uploaded image will be used as your gravatar by themes that call the get_avatar() function. This will override an image set on gravatar.com
For sites with multitudes of authors, the widget offers the ability to insert a link to the author's posts -- his archives.
Normally the widget will only display an author image when it can clearly identify who the content's author actually is. In other words, on singular pages or in the loop.
If you run a single author site, or a site with multiple ghost writers, be sure to check the "This site has a single author" option. The widget will then output your image at all times.
Normally the widget will use the author's posts page (/author/authorname/) is the image is clicked on. If your site has a dedicated page for the author, such as an 'About Me' page,
there is a new field in 'Your Profile' called 'About Me Page'. Entering a url in this field (/about-me/) will cause the widget to use this link as opposed to /author/authorname.
You can retrieve the url to the respective author image by calling the function
<?php the_author_image_url($author_id = null); ?>
If $author_id is blank the plugin will attempt to determine the current author and retrieve his/her image.
The Semiologic forum is the best place to report issues. Please note, however, that while community members and I do our best to answer all queries, we're assisting you on a voluntary basis.
If you require more dedicated assistance, consider using Semiologic Pro.
Requires: 3.1 or higher
Compatible up to: 4.2.2
Last Updated: 2015-4-27
Active Installs: 10,000+
0 of 1 support threads in the last two months have been resolved.
Got something to say? Need help?