Этот плагин не тестировался с последними 3 основными выпусками WordPress. Скорее всего, он уже не поддерживается и может быть несовместим с текущими версиями WordPress.

Members Restricted Access

Описание

This plugin create shortcodes to restrict the access to Visitors, Members or specific role. You can create sections in your page/post only visible to members (logged users), visitors or for an specific role.

To use you need to create the content and wrap it with these shortcodes: [visitor], [member] or [showifrole].

  • You can use the parameters ‘is’ and ‘msg’. If you not specify them, the default value will be use instead.
  • The paramater ‘is’ is use it with the shortcode [showifrole] to check for that specific user. The default value is ‘administrator’.
  • And ‘msg’ is the message the system is going to show. You can use html code with single apostrophes (‘). The default value is null.

Примеры:

‘[visitor]
content only visible to visitors
[/visitor]

[member msg=»You need to Login to see this content.»]
content only visible to members
[/member]

[showifrole is=administrator]
content only visible for administrators
[/showifrole]

[showifrole is=author msg=»You don’t have the required role.»]
content only visible for authors
[showifrole]’

Установка

To install this plugin just follow the standard procedure.

или

  1. Upload members-restricted-access.php to the /wp-content/plugins/ directory
  2. Активируйте плагин используя меню ‘Плагины’ в WordPress

Часто задаваемые вопросы

Any question?

Send me an email at mcostales@jumptoweb.com and I will answer you as soon as I can.

Отзывы

05.03.2018
This plugin does exactly what it says, in a simple and unobtrusive fashion. Despite the fact that it has not been updated for two years, it works fine with the latest and greatest version of Wordpress (4.9.4 at the time of this writing). A cosmetic update to state that would be appreciated!
Посмотреть все 4 отзыва

Участники и разработчики

«Members Restricted Access» — проект с открытым исходным кодом. В развитие плагина внесли свой вклад следующие участники:

Участники

Перевести «Members Restricted Access» на ваш язык.

Заинтересованы в разработке?

Посмотрите код, проверьте SVN репозиторий, или подпишитесь на журнал разработки по RSS.

Журнал изменений

3.0

  • Now you can use nested shortcodes, so you can use a any shortcode inside our shortcode verification.

2.1

  • Add the parameters for message in the members, visitors and showifrole shortcodes.
  • Add a default value for ‘is’ and ‘msg’.

2.0

  • Added the shortcode to check by role.

1.0

  • Just launch the plugin!