Displaying an authors list

This article applies only to the Premium version of the plugin, release 1.3.5 or higher.
Get premium version

Would you like to display a list with all the authors of your blog? May be just guest authors? Molongui Authorship Premium allows you to display an authors list anywhere you like thanks to the use of shortcodes.

Using the trivial shortcode, a flat authors list will be rendered showing the name of the authors as a link to their archive page. Check the shortcode and the output below:

Editor input

[molongui_author_list]

Frontend output

Author list "flat" style.

Author list “flat” style.

You can change how the list to display will look like by choosing between the three layouts available (“flat”, “basic” and “complete”). Let’s say you want to display the list using the “basic” layout. You should use a shortcode like this one below, which will output something like in the image:

Editor input

[molongui_author_list style="basic"]

Frontend output

Author list "basic" style.

Author list “basic” style.

How does the “complete” layout look like? And what would be the shortcode to display the list using it? Check it below:

Editor input

[molongui_author_list style="complete"]

Frontend output

"Complete" style list.

Author list “complete” style.

Attributes

You can also choose between showing all authors in your site or just those registered. Check out below all the available attributes you can use to fully customize your authors list:

typeoptional
Type of authors to list.
Accepts “authors”, “users” or “guests”.
Defaults to authors.
Available since version 1.3.5.
styleoptional
Layout used to display the list.
Accepts “flat”, “basic” or “complete”.
Defaults to flat.
Available since version 1.3.5.
iconoptional
The icon to display before the author name on the flat style template.
Accepts “feather” or “doc”.
Defaults to feather.
Available since version 1.3.5.
orderoptional
Designates the ascending or descending order of the “orderby” parameter.
Accepts “asc” or “desc”.
Defaults to asc.
Available since version 1.3.5.
orderbyoptional
Sort retrieved authors by parameter.
Accepts “name “, “mail “, “job ” or “company”.
Defaults to name.
Available since version 1.3.5.
exclude_usersoptional
Comma separated list of registered authors to exclude from being listed.
Available since version 2.0.0.
exclude_guestsoptional
Comma separated list of guest authors to exclude from being listed.
Available since version 2.0.0.
with_postsoptional
Whether to list only those authors with at least one authored post.
Accepts “yes” or “no”.
Defaults to no.
Available since version 3.1.3.
Did this article answer your question?