wordpress插件之If Menu – Visibility control for Menu Items

If Menu – Visibility control for Menu Items的作者是Layered,目前有60,000+个有效安装。已经Tested with 5.4.1版本的wordpress。
Description
Control what menu items your site’s visitors see, based on visibility rules. Here are a few examples:

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

The plugin is easy to use, each menu item will have a new option “Change menu item visibility” which will enable the selection of visibility rules (example in Screenshots).
Features

Basic set of visibility rules

User state User is logged in
User roles Admin Editor Author etc
Page type Front page Single page Single post
Is Archive page (year, category, search results, etc)
Visitor device Is Mobile

Advanced visibility rules – requires Premium plan

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
show if User is Admin AND Is front page

Support for adding your custom rules

Example of adding a custom visibility rule is described in the FAQ section.

微慕商城——精选wordpress插件及wordpress主题,帮助站长快速生成wordpress小程序。
微慕WordPress小程序商城 » wordpress插件之If Menu – Visibility control for Menu Items

提供最优质的资源集合

立即查看 了解详情