PublishPress Authors has a feature called “Author Boxes” that controls how you display authors on your site.
You have several different options for displaying Author Boxes. This guide describes four different ways to show your authors.
Option #1: Author Boxes below the content #
This feature will display the Author Box below your Posts.
- Go to Authors > Settings and click the “Author Boxes” tab.
- Check the box saying, “This will display the authors box at the end of the content”.
- In the “Layout” box, you can choose from several layouts.
You will now see the PublishPress Authors box appear below the Posts on your site. This image shows where the box will display:
Option #2. Author Boxes in a Widget #
PublishPress Authors provides a widget that you can use to show the authors. Click here to see more about the Post Authors widget.
- Go to Appearance > Widgets in your WordPress admin menu.
- You can position your PublishPress Authors widget in any sidebar or widget area.
- The image below is a preview of how the widget may appear:
Option #3. Author Boxes in a Shortcode #
With PublishPress Authors shortcodes, you can display the author box in any part of the content.
Click here to find out more about shortcode options.
Option #4. Author Boxes in Code #
PublishPress Authors allows you to show author details in your plugin or theme.
You can use the action “pp_multiple_authors_show_author_box” to display the author box programmatically:
<?php do_action( 'pp_multiple_authors_show_author_box' ); ?>
If you want more details on this option, click here for more on expanding on this code snippet.
It's also possible to use the PublishPress Authors shortcodes inside a PHP snippet, as in this example:
<?php echo do_shortcode( '[publishpress_authors_box]' ); ?>
Note: Do Not Use The Default WordPress Author Display #
Many WordPress themes will have a default author byline and sometimes also an author profile box. We recommend that you either disable or replace these features. Please use one of the four options in this guide instead.
Most themes will allow you to hide the author byline and author box in the theme settings. These features are limited out-of-box because of constraints imposed by the WordPress core. The basic WordPress author features just can not cope with more than one author … which is why we built PublishPress Authors.