Co-Authors Plus lets you assign multiple authors to a post.
The code below integrates Co-Authors Plus with Display Posts so your post listings will include all authors.
This can also be installed as a plugin: CoAuthors Plus Addon
Usage
[display-posts include_author="true"]
Customization
The following parameters can be added to the shortcode to customize the output of the author list
coauthor_between– Delimiter that should appear between the co-authors. Default:,coauthor_between_last– Delimiter that should appear between the last two co-authors. Default:andcoauthor_before– What should appear before the presentation of co-authors. Default:bycoauthor_after– What should appear after the presentation of co-authors. Default: (empty)coauthor_function– Change which Co-Author Plus function is used. Default:coauthorAvailable Options:coauthor– Outputs the co-authors display names, without links to their postscoauthors_posts_links– Outputs the co-authors display names, with links to their posts.coauthors_links– Outputs the co-authors display names, with links to their websites
This code snippet goes in a core functionality plugin or Code Snippets.
Filters used:
display_posts_shortcode_author