Conditionally control the visibility of any item in your UberMenu Mega Menu
UberMenu Conditionals Extension
Set conditions on a per-item basis for whether a menu item will display.
This plugin is an extension for UberMenu
1-Site License. Includes support & updates for 1 year.This plugin is an extension for UberMenu
Feature List
- Adds the option to conditionally display or hide any individual item in your UberMenu
- Hidden items will be completely absent from the HTML markup, not hidden via CSS, and all child items of hidden items will be removed as well.
- Choose up to 2 conditions per menu item, and configure whether one or both conditions must be met to display the item.
- Parameters can be passed to many of the functions to restrict the condition to a particular post/Page or set of posts/Pages, for example.
- Easily add a logout link
- Define custom conditions in PHP via a filter. An example and function template is provided in the documentation.
Predefined Conditions
- If user is logged in
- If user is not logged in
- If user can [capability]
- If user cannot [capability]
- User is [role]
- User is not [role]
- On front page
- Not on front page
- On home page (main blog)
- Not on home page (main blog)
- On a page
- Not on a page
- On a single Post
- Not on a single Post
- On a page template
- Not on a page template
- Post in Category
- Post not in Category
- Post has Tag
- Post does not have Tag
- Post has Term
- Post does not have Term
- On a Category Archive
- On a Tag Archive
- On a Taxonomy Archive
- On an Author Archive page
- On any archive page
- On Search Results page
- On 404 page
- On a single Page, Post, or Attachment
- Is Post Type [type]
Get the UberMenu Conditionals Extension
Control your menu item visibility