Authors List Shortcode

One of the shortcodes available in PublishPress Authors is the Authors List shortcode.

This shortcode allow you to show a list of all the authors who are attached to posts on your site. This shortcode will not show authors if they are not linked to any posts.

This is the simplest version of the shortcode:

[publishpress_authors_list]

Here is how this shortcode appears when added to the Gutenberg editor in a block:

Authors List Shortcode
Authors List Shortcode

You can find examples of the Authors list shortcodes by going to “Authors”, then “Settings”, then “Shortcodes” in your WordPress site.

Authors List Shortcodes
Authors List Shortcodes

This authors list shortcode can also be customized with many options. Let's start by looking at layouts. For example, this will show all your authors in a boxed layout:

Authors List

  • Anderson has been a developer since 2002. He was born and lives in Maringá, Brazil. He loves to play classical piano, and has a passion for learning new things.

  • Jen is a Content Consultant and Writer at JenKuo.com. She lives in Sydney, Australia and writes a weekly newsletter "Behind The Brand" where she shares her behind-the-scenes process of building a True North Business with purpose, profit, passion and play in the digital economy.

  • Jorge lived in Ecuador and Germany. Now he is back in his homeland of Colombia. He spends his time translating from English and German to Spanish. He loves to learn about open source technology.

  • Mirza is a coffee addict that switches between writing and football watching frenzies. Ever since he met the digital world, the keyboard is his main weapon and refuses to function without headphones and good tunes.

  • Olawale Adesina is a coder who lives in Ilorin, Nigeria. He has been working with PHP for nearly a decade, and has developed for WordPress since 2015.

  • Steve is the founder of PublishPress. Originally from the UK, he now lives in Sarasota in the USA. (P.S. This profile is generated by the PublishPress Authors plugin)

  • Valentin Garcia is from Jalisco, Mexico. He is the lead designer at PublishPress. He built this website and is working to improve the PublishPress Blocks plugin.

There's a wide variety of ways you can sort and filter the authors display. Let's see some examples.

You can control the number of authors per page using limit_per_page="12". So this shortcode would use the Boxed layout and show 5 authors per page:

Authors List

  • Anderson has been a developer since 2002. He was born and lives in Maringá, Brazil. He loves to play classical piano, and has a passion for learning new things.

  • Jen is a Content Consultant and Writer at JenKuo.com. She lives in Sydney, Australia and writes a weekly newsletter "Behind The Brand" where she shares her behind-the-scenes process of building a True North Business with purpose, profit, passion and play in the digital economy.

  • Jorge lived in Ecuador and Germany. Now he is back in his homeland of Colombia. He spends his time translating from English and German to Spanish. He loves to learn about open source technology.

You can also hide authors if they don't have any assigned posts using show_empty="0". This shortcode will use the Simple List layout and only show authors who have written posts:

Authors List

You can also order the display by the number of posts or the name of each author. This will display the authors in the inline layout and the authors will the most posts will be listed first:

Authors List

, , , , , , , ,

Professional publishing plugins for WordPress! Get PublishPress