Menu Item Visibility Control Wordpress Plugin - Rating, Reviews, Demo & Download

Menu Item Visibility Control Wordpress Plugin - Rating, Reviews, Demo & Download
4.3 Average out of 31 ratings
Free
Follow for free plugins, new theme releases and theme news

Plugin Description

Using this plugin you can use WordPress Conditional Tags to enable or disable menu items on the front-end. It works like ‘Widget Logic’ but for menu items.

PLEASE NOTE The conditions are PHP codes that are evaluated using PHP’s “eval” function, meaning anyone who has access to the Menu manager in WordPress can execute any code. Be mindful of who has access to the Menu manager.

Usage

You must insert conditional tags in the “Visibility” box in the menu item options form. You can use any PHP or WordPress functions to build crazy conditions and logics for menu items. For example, to hide the menu item on homepage you can set the visibility to:

! is_home()

Show the menu only to logged-in users:

is_user_logged_in()

Show the menu only to guest visitors:

! is_user_logged_in()

To show the menu item based on user capability:

current_user_can( 'manage_options' )

Screenshots

  1. Visibility Control

    Visibility Control


Reviews & Comments