About Author Lists
Author Lists is a beautiful way for you to show all the Authors on your site.
Settings
Author Lists comes with a lot of staying options to allow you to create the best Author Lists for your site.
- Layout
- Number of Authors to Display
- User Roles
- Exclude Users
- Sort and Order Authors
- Author Avatar size and shape
Widget
Author Lists come with a built in widget so that you can display Authors Lists anywhere on your site. You can have multiple widgets on the same page and customize them however you want.
Shortcode Builder
If you want to display Author Lists inside post content you can use our custom Shortcode builder. This is an easy way to add Author List to any part of your site.
Shortcode
You can display an Author List anywhere on your site by using our shortcode [nnr_author_list]
. Here are some examples:
[nnr_author_list title="Draftpress" user_roles="Administrator,Editor,Author,Contributor"]
[nnr_author_list title="" layout="list"]
[nnr_author_list title="" num_authors="10"]
Below is a table of all available options.
Name | Description | Default Value | Options | Example |
---|---|---|---|---|
title | Title of the author list. | “Author List” | Any text | [nnr_author_list title="Our Authors"] |
layout | Display layout of authors. | “list” | “list”, “list-bio”, “grid”, “carousel” | [nnr_author_list layout="grid"] |
num_authors | Number of authors to display. | “5” | “all” or number from 1-20 | [nnr_author_list num_authors="10"] |
user_roles | User roles to include. | “Administrator,Editor,Author” | Comma-separated list of roles | [nnr_author_list user_roles="Editor,Author"] |
exclude_users | Users to exclude from the list. | “” | Comma-separated list of user IDs | [nnr_author_list exclude_users="1,2,3"] |
orderby | Sort authors by. | “display_name” | “ID”, “display_name”, “post_count” | [nnr_author_list orderby="post_count"] |
order | Sort order. | “ASC” | “ASC”, “DESC” | [nnr_author_list order="DESC"] |
avatar_size | Size of author avatars. | “medium” | “small”, “medium”, “large”, “full” | [nnr_author_list avatar_size="large"] |
avatar_shape | Shape of author avatars. | “rounded-square” | “rounded-square”, “square”, “circle” | [nnr_author_list avatar_shape="circle"] |
grid_columns | Number of columns in grid layout. | “3” | 1-6 | [nnr_author_list layout="grid" grid_columns="4"] |