How to Show Authors With Shortcodes

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

With the shortcode you can display the author box in any part of the content. Just add this shortcode to your content:

[author_box]

This shortcode can be customized. You can 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:

[author_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:

[author_box layout="boxed" show_title="true"]
You can use the shortcode on the authors page to display the profile of the current author. You just need to add the param archive=”true”:
[author_box layout="boxed" archive="true"]
If you need to specify a different post id you can use the param post_id:
[author_box layout="boxed" post_id="32"]

Professional publishing plugins for WordPress! Get PublishPress

[i]
[i]