plugin-icon

If Menu — Visibility control for Menus

Автор: Layered·
hide
menu
roles
Display tailored menu items to each visitor with visibility rules
Рейтинги
4.2
Последние изменения
March 4, 2024
Версия
0.18.0
Активные установки
70K
If Menu — Visibility control for Menus

Control what menu items your site’s visitors see, with visibility rules. Here are a few examples:

  • Display a menu item only if User is logged in
  • Hide menus if Device is mobile
  • Display menus for Admins and Editors
  • Hide Login or Register links for Logged in Users
  • Display menus for Users from US or UK
  • Display menus only for Customers with active membership
  • Display menus for visitors browsing with Language English or Spanish

After the plugin is enabled, each menu item will have a new option “Change menu item visibility” which will enable the selection of visibility rules.

Check the examples in screenshots or try it here demos.layered.store

Основные функции

  • Basic set of visibility rules
    • User state User is logged in
    • Роли пользователя Администратор Редактор Автор и т.д.
    • Тип страницы Главная страница Одна страница Страница записи
    • Is Archive page (year, category, search results, etc)
    • Visitor device Is Mobile
  • Advanced visibility rules — requires More Visibility Rules Add-on
    • Visitor location — detect visitor’s Country
    • Visitor language — detect visitor’s selected Language
    • WooCommerce Subscriptions — Display menus for users with active subscription
    • WooCommerce Memberships — Display menus for customers with active membership plans
    • Groups — Detect if users are in specific groups
    • WishList Member — Detect the users’ membership level
    • Restrict Content Pro — Detect the users’ subscription level
  • Multiple rules — mix multiple rules for a menu item visibility
    • show if User is logged in AND Device is mobile
    • показать элемент меню если Пользователь Администратор И если это главная страница
  • Support for adding your custom rules
Активные установки
70K
Проверено на
6.4.5
Этот плагин можно скачать и использовать при автономной установке WordPress.