The PublishPress Authors plugin allows you to show author profiles using a shortcode.

With the Author Box shortcode you can display the profile of all the authors attached to a specific post.

This is the simplest version of the shortcode:


Here is how this shortcode appears when added to the Gutenberg editor in a block:

Author Box Shortcode
Author Box Shortcode

You can find examples of the Author box shortcodes by going to “Authors”, then “Settings”, then “Shortcodes” in your WordPress site.

Shortcode Tabs

These author box shortcodes can be customized. One option is to choose from these layouts:

  • simple_list
  • centered
  • boxed
  • inline
  • inline_avatar

You can see full details of each layout option in this guide. Here's an example of the shortcode with a layout choice:

[publishpress_authors_box layout="boxed"]

You can also decide whether or not to show the main title, using show_title=”true” or show_title=”false”.

Here’s an example of that more detailed shortcode:

[publishpress_authors_box layout="boxed" show_title="true"]

You can load the authors for a specific post, even if you are not in that post currently. For example, this shortcode will load the authors from the post with the ID of 32:

[publishpress_authors_box layout="boxed" post_id="32"]

There is one final option to mention. This is mostly useful if you're using a theme or page builder to customize the Author profile pages you find at URLs such as /author/username/. You can use the following shortcode on the authors page to display the profile of the current author. You just need to add the parameter archive="true":

[publishpress_authors_box layout="boxed" archive="true"]

If you are having problems showing PublishPress Authors on author profile pages, you can use this shortcode below. The argument archive=”1″ forces the plugin to retrieve the Author from the profile page and not any other posts on the same screen.

[publishpress_authors_box layout="boxed" archive="1"]