开发者 |
batmoo
danielbachhuber automattic GaryJ |
---|---|
更新时间 | 2023年8月28日 16:23 |
PHP版本: | 5.6 及以上 |
WordPress版本: | 6.3 |
版权: | GPLv2 or later |
版权网址: | 版权信息 |
/wp-content/plugins/
directory. Alternately, you can install directly from the Plugin directory within your WordPress Install.If you've just installed Co-Authors Plus, you might notice that the bylines are being added in the backend but aren't appearing on the frontend. You'll need to add the template tags to your theme before the bylines will appear.
When a user is deleted from WordPress, they will be removed from all posts for which they are co-authors. If you chose to reassign their posts to another user, that user will be set as the coauthor instead.
Yep! Co-Authors Plus can be activated on a site-by-site basis, or network-activated. If you create guest authors, however, those guest authors will exist on a site-by-site basis.
To assign co-authors to posts, a WordPress user will need the 'edit_others_posts' capability. This is typically granted to the Editor role, but can be altered with the 'coauthors_plus_edit_authors' filter. To create new guest author profiles, a WordPress will need the 'list_users' capability. This is typically granted to the Administrator role, but can be altered with the 'coauthors_guest_author_manage_cap' filter.
Yep! There's a template tag called coauthors_wp_list_authors()
that accepts many of the same arguments as wp_list_authors()
. Look in template-tags.php for more details.
= Can I disable Guest Authors?
Yep! Guest authors can be disabled entirely through an apt filter. Having the following line load on init
will do the trick:
add_filter( 'coauthors_guest_authors_enabled', '__return_false' )