Описание
Назначайте сразу несколько авторов к записям, страницам и произвольным типам записей с помощью удобной формы. Записи с соавторами появляются в архиве соавторов. Соавторы могут редактировать записи, с которыми они связаны, а соавторы, являющиеся участниками, могут редактировать записи только в том случае, если они не были опубликованы (по умолчанию).
Доблавяйте авторов без создания системных WordPress пользователей. Просто создайте гостевого автора и свяжите его с любой записью на сайте.
Используйте функции шаблона плагина, чтобы отобразить список авторов где угодно в теме.
For more detailed documentation refer to the GitHub Wiki for this plugin.
Co-Authors Plus is an almost complete rewrite of the Co-Authors plugin originally developed by Weston Ruter (2007). The original plugin was inspired by the ‘Multiple Authors‘ plugin by Mark Jaquith (2005).
Скриншоты
Блоки
Этот плагин предоставляет 5 блоков.
- Co-Author Avatar Displays a small scale version of a co-author's avatar. Utilizes fallbacks from Gravatar so everyone has an avatar.
- Co-Author Featured Image Uses your theme's image sizes to display a scalable avatar for a co-author with a guest author profile. Does not fallback to Gravatar images.
- Co-Author Biography Displays a co-author's biographical description.
- Co-Author Name Displays a co-author's display name and optionally links to their author archive.
- Co-Authors Displays the co-authors of a post by using blocks to create a template. Start with co-author name and add any other co-author blocks.
Установка
- IMPORTANT: If you are using the original Co-Authors plugin, disable it before installing Co-Authors Plus.
- Разархвириуйте файл coauthors-plus.zip и загрузите его содержимое в каталог
/wp-content/plugins/
. Вы также можете установить плагин напрямую из каталога WordPress. - Активируйте плагин используя меню ‘Плагины’ в WordPress
- Place co-authors template tags in your template.
- Добавьте соавторов к вашим записям и страницам.
Часто задаваемые вопросы
-
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 front end. 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 reassign their posts to another user, that user will be the co-author instead.
-
Yes! You can use Co-Authors Plus on WordPress multisite. 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.
-
Какие нужны пользовательские разрешения?
-
A WordPress user will need the
edit_others_posts
capability to assign co-authors to posts. This is typically granted to the Editor role but can be altered with thecoauthors_plus_edit_authors
filter.A WordPress user will need the
list_users
capability to create new guest author profiles. This is typically granted to the Administrator role but can be altered with thecoauthors_guest_author_manage_cap
filter. -
Yes! You can create a list of all co-authors with a template tag
coauthors_wp_list_authors()
template tag. This template tag accepts many of the same arguments aswp_list_authors()
. Look intemplate-tags.php
for more details. -
Yes! You can disable guest authors entirely through a filter. Having the following line load on
init
will do the trick:
add_filter( ‘coauthors_guest_authors_enabled’, ‘__return_false’ )
Отзывы
Участники и разработчики
«Co-Authors Plus» — проект с открытым исходным кодом. В развитие плагина внесли свой вклад следующие участники:
Участники«Co-Authors Plus» переведён на 17 языков. Благодарим переводчиков за их работу.
Перевести «Co-Authors Plus» на ваш язык.
Заинтересованы в разработке?
Посмотрите код, проверьте SVN репозиторий, или подпишитесь на журнал разработки по RSS.