WP Custom Author Image

plugin banner

Lets you easily add WP Custom Author Images on your site.

Author:Paramjeet Kumawat (profile at wordpress.org)
WordPress version required:3.1
WordPress version tested:5.2.2
Plugin version:1.0
Added to WordPress repository:17-12-2018
Last updated:27-08-2019
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
Rating, %:100
Rated by:2
Plugin URI:https://profiles.wordpress.org/p4wparamjeet
Total downloads:2 024
Active installs:100+
plugin download
Click to start download

The WP Custom Author Image plugin for WordPress lets you easily add WP Custom Author Images on your site.

It creates a widget that you can insert in a sidebar or any other widget area allowed by your theme.
The plugin now supports a short code [wp-custom-author-image] you can use to directly add the image to the page or post content.

Alternatively, you can place the following call in the loop where you want the WP Custom Author Image to appear:

<?php the_wp_custom_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_wp_custom_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 WP Custom Author Image, browse Users / Your Profile in the admin area.

Setting WP Custom Author Image Size

You can adjust the actual display size in the WP Custom Author Image widget or by using the_wp_custom_author_image_size function call.

If you do not specify a size the width and height of the actual image will be used.

Shortcode

  1. You can use [wp-custom-author-image] to display the uploaded WP Custom Author Image in your page/post content.

Multi-Author Sites

For sites with multitudes of authors, the widget offers the ability to insert a link to the author’s posts — his archives.

Single Author Sites

Normally the widget will only display an WP Custom 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.

Alternate About Page Link

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.

Retrieving Author Url

You can retrieve the url to the respective WP Custom Author Image by calling the function

<?php the_wp_custom_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.


Screenshots
FAQ