Author archives (aka Author Pages) are WordPress built-in pages which display a list of all posts written by an author. By default, they are displayed using the template provided by your active theme.
It makes sense to show author information on author pages, helping building credibility and strengthening your site’s authority among users. In this regarding, some themes show author information, like name, bio or social profiles, but most don’t.
In any case, you might want to display that author information just like you do on posts. That is showing the author box provided by the Molongui Authorship plugin.
Unlike posts or other pages you add to your WordPress site, you cannot edit an author page easily. So if you want to customize it you need to edit some PHP code.
To display an author box on an author page, you will need access to the template file being used to render the author page. That file is placed into your site’s theme folder and it should be called something like: “author.php” or “archive.php”. If none of them exist, then “index.php” must be the file.
Once open, just place the following code right where you would like the author box to appear:
<?php echo do_shortcode('[molongui_author_box]'); ?>
There’s no need to indicate the ID of the author because the plugin will show the correct one, but you can set any other configuration parameter you wish. Check this article out to get a list of all available attributes.
<?php echo do_shortcode('[molongui_author_box layout=stacked box_border_style=dotted box_background=lightgrey]'); ?>
Inside PHP code, use the snippets above without opening <?php and closing ?> PHP tags.