=== Authors List === Contributors: WPKube Tags: author, authors, list, grid, authors list, authors grid Requires at least: 4.7.0 Tested up to: 5.3 Requires PHP: 5.4 Stable tag: 1.0.5 Use a shortcode to display a list or grid of post authors and links to their post archives page. == Description == Easily display a list or grid of post authors and links to their post archives page using a shortcode. The shortcode is [authors_list] and accepts the following attributes. * style (1,2,3) * columns (2,3,4) * avatar_size (any number, example 500) * amount (any number, no limit by default) * show_title (yes,no) * show_count (yes,no) * show_bio (yes,no) * show_link (yes,no) * orderby ( post_count, ID, login, nicename, email, url, registered, display_name ) * order ( ASC, DESC ) * skip_empty ( yes, no ) * bio_word_trim ( any number, leave empty for no trim ) * only_authors ( yes, no ) * exclude ( user IDs separate by comma, example 1,3,4 ) * include ( user IDs separate by comma, example 1,3,4 ) * roles ( roles separated by comma, example administrator,editor ) Example usage with attributes:
[authors_list style="2" columns="2" amount="4" show_count="no"]
There are additional attributes for custom content before and after each element: * before_avatar * before_title * before_count * before_bio * before_link * after_avatar * after_title * after_count * after_bio * after_link Example usage with attributes:
[authors_list before_title="My custom content"]
These before/after attributes also support dynamic user/author meta fields using
{al:INSERT_FIELD_NAME}
Example usage:
[authors_list before_title="My first name is {al:first_name}"]
They also support some dynamic output functionality. Currently just displaying posts links for the authors, more to come. Example usage:
[authors_list after_title="{alf:posts}"]
[authors_list after_title="{alf:posts type=plain amount=5}"]
== Installation == - **WordPress Plugins Directory**: Navigate to *Plugins* → *Add New* in the WordPress admin and search “Authors List”. Click *Install* and then *Activate*. - **Zip Upload**: Navigate to *Plugins* → *Add New* → *Upload Plugin* in the WordPress admin. Browse to the .zip file containing the plugin on your computer and upload, then activate. - **Manual FTP Upload**: Upload the plugin folder to `/wp-content/plugins/`. Navigate to *Plugins* in the WordPress admin and activate. == Changelog == = 1.0.5 (December 2, 2019) = * Option to include specific users by ID * Option to include specific user roles * Option to set posts list to be plain ( divs ) instead of unordered list items * Compatibility with custom avatar plugins * Responsive fixes = 1.0.4 (November 23, 2019 ) = * Option to exclude specific users/authors * Ability to display posts of the specific author = 1.0.3 (November 12th, 2019) = * Option to include all users, not just authors = 1.0.2 (October 30th, 2019) = * Added biography words trim option * Added ability to add custom content before/after each element * Added ability to display custom field values * Added option to also show authors that do not have any posts * Fixed issue where some authors are not shown = 1.0.1 (October 21st, 2019) = * Added plugin URI (for "view details" link in the WordPress admin) * Options to change the authors order * Fixed issue with layout if images not the same height = 1.0.0 = * Initial Release