Documentation

Menus & Widgets

Apply visibility presets to menu items and widgets, so the right links and sidebars appear for the right visitors.

WP Brain can also hide or show menu items and widgets. This example builds a membership site where “My Account” is hidden from guests and shown to logged-in members.

  1. Create a preset under WP Brain > Settings. In the presets box, click Add New.
  2. Fill the fields as shown and save:
    Creating a visibility preset that targets logged-in members
    Creating a membership preset.
  3. Edit your menu, then choose the new preset from the Visibility Preset dropdown:
    Visibility Preset dropdown in the WordPress menu item settings
    Assigning a preset to a menu item.
  4. Save the menu and test it while logged in and logged out.

Widgets

Widgets work the same way: create a preset (or reuse one), then select it in the widget's Visibility Preset dropdown.

Visibility Preset dropdown in a WordPress widget
Assigning a preset to a widget.

Save the widget and check that it appears for the right visitors.