This shortcode allows you to display an author box anywhere you want.
It can be used anywhere within WordPress where shortcodes are supported. For most users, this will primarily be within the content of a WordPress post or page.
A shortcode is just one method used to display a Molongui Author Box in WordPress. Author boxes can also be automatically displayed on posts and pages via plugin settings configuration. See Display Settings to read more detailed information on that option.
By default, an author box being displayed by this shortcode is always shown, regardless of Display Settings configuration. If you want the Display Settings to control whether the author box should be displayed, you can use the ‘force_display=no’ attribute.
The trivial shortcode would be:
The shortcode will display the author box in different ways, depending on how you use the optional attributes to customize the author box layout.
That trivial shortcode will display an author box showing the information of the author of the page where the shortcode is inserted on. And the styling used to decorate the box will be taken from the Styling Settings configured at the Customizer.
If you want to see some examples of how you can make your author boxes look like, check this document.
To customize which author information to show or how the displayed author box will look like, you can use the shortcode with additional attributes. All styling settings can be overridden.
By default, current page’s author information is displayed and styling settings are taken from the ones configured at the Customizer.
Check out below all the available attributes you can use to fully customize the author box:
Listed attributes below were available on previous versions of the plugin, but have been removed or replaced: