Restricted Site Notifier

Описание

The Restricted Site Access plugin allows you to restrict a whole WordPress site to be visible only to logged-in users. This is very handy for development sites, and for providing members-only sites with no publicly-visible content.

This simple add-on plugin for Restricted Site Access adds a notification icon and message to the admin bar, showing the site’s current restriction status. This notification is only visible to admin-capable users, and means that an admin can always see the site’s current restriction status at a glance.

The plugin shows a locked padlock and a RESTRICTED status message if the Site Visibility setting has been restricted to logged-in or allowed-by-IP users.

It shows an unlocked padlock and an UNRESTRICTED status message for all other settings of Site Visibility.

Скриншоты

  • Admin bar showing status when site access is restricted

  • Admin bar showing status when site access is unrestricted

Установка

  1. Install this plugin via the WordPress plugin control panel,
    or by manually downloading it and uploading the extracted folder
    to the /wp-content/plugins/ directory.
  2. Активируйте плагин на странице «Плагины» в панели управления WordPress.
  3. That’s all! There are no configurable options for this plugin.

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

I’m not seeing the notification in my admin menu bar — help!

For the notification to appear, the following things are required:

  1. The Restricted Site Access plugin should be both installed and activated.

  2. You should be logged in using an account with permission to activate
    plugins (e.g. a site admin or multisite admin/super-admin account.)

Check that both of these are true if you’re not seeing the notification in
the admin menu bar.

Can I use this plugin with older versions of WordPress?

The plugin may work with older versions of WordPress (for example,
it runs successfully in WP 3.6). However, the padlock icons will not
appear in the admin bar for releases before WP 3.8.

I hate the coloured padlock icons, how do I remove their colour?

You can use the following CSS to set the padlock icons back to the
default colour / theme-specified colour:

wpadminbar .flizrsn-locked .ab-item:before {

color: inherit !important;
}

wpadminbar .flizrsn-unlocked .ab-item:before {

color: inherit !important;
}

Отзывы

16.09.2019
Very reassuring to actually see the status of the restricted site access plugin at a glance in the admin bar.
Посмотреть все 2 отзыва

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

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

Участники

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

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

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

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

1.0.1

  • Loosen capability check to include multisite admins as well as superadmins

1.0.0

  • Initial version