# Conditional Menu Items for WordPress

> Show a menu item only to logged-in or logged-out visitors, to chosen roles, or only on phones or computers. Set it on each item in Appearance → Menus…

TW-ADM-07 Interface


Show a menu item only to logged-in or logged-out visitors, to chosen roles, or only on phones or computers. Set it on each item in Appearance → Menus (classic menus).

[Get it from $26 a year](https://togglework.app/pricing/#plans) [Try it in the demo](https://togglework.app/demo/)

Conditional Menu Items

**Part number**
: TW-ADM-07
**Section**
: [Interface](https://togglework.app/features/interface/)
**Settings**
: Own screen
**Starts**
: Switched off
**In plans**
: Every plan

## Why it matters

“Log in” should show to visitors and “My account” to customers; some links only make sense on phones. WordPress menus show the same items to everyone.

### What it does

- Shows a menu item only to logged-in or logged-out visitors, or to chosen roles.
- Shows an item only on phones or only on computers.
- Set on each item in Appearance → Menus (classic menus).

![Conditional Menu Items settings screen in the Toggleworks WordPress plugin](https://togglework.app/wp-content/themes/toggleworks-site/assets/img/parts/interface-conditional-menus.webp?v=1795524192)

The Conditional Menu Items screen in wp-admin, where you switch it on and change its settings.

## Set it up

1. Open Appearance → Menus, expand an item and set who sees it.

## How you use it

Switch Conditional Menu Items on in Toggleworks → Interface and it adds its own screen to wp-admin, where you do the work. There are no settings to get wrong first.

## Good to know

- It works with classic menus, not block-theme navigation blocks.

## Comes with 187 more parts

Conditional Menu Items is one part of Toggleworks, a single plugin for security, speed, SEO, backups, email and store tools. Switch on what your site needs; the rest stays off and loads nothing.

[All 12 Interface parts](https://togglework.app/features/interface/)

### People also look for it as

- menu
- conditional menu
- logged in menu
- menu visibility
- nav menu roles
- hide menu item
- mobile menu

## Often switched on with it

- [Admin Menu Manager](https://togglework.app/features/interface/admin-menu-manager/) — TW-ADM-04 · Hide admin menu items for chosen roles and rename top-level menu labels. · Own screen in wp-admin
- [Plugin White Label](https://togglework.app/features/white-label/plugin-white-label/) — TW-WHL-03 · Rename Toggleworks in the plugins list and admin menu, or hide it from everyone except you. · 8 settings
- [Admin Bar Manager](https://togglework.app/features/interface/admin-bar-manager/) — TW-ADM-01 · Choose exactly which toolbar items each role sees — including items added by other plugins — and add your own shortcut links. · Own screen in wp-admin
- [Admin Columns](https://togglework.app/features/interface/admin-columns/) — TW-ADM-02 · Add featured image, ID, last modified and word count columns to post lists, and signup / last login columns to the users list. · 8 settings
- [Admin Layout](https://togglework.app/features/interface/admin-layout/) — TW-ADM-03 · Small layout comforts for the admin: sort plugin menus alphabetically, widen the sidebar for long names, move the toolbar to the… · 4 settings
- [Clean Admin](https://togglework.app/features/interface/clean-admin/) — TW-ADM-05 · Declutter wp-admin: hide the admin bar, notices, help tabs, update nags and admin bar items. · 7 settings

## Questions

**Is Conditional Menu Items included in every Toggleworks plan?**

Yes. Every plan includes all 188 parts, Conditional Menu Items among them. Plans differ only in how many sites you can use them on, and staging or local copies of a site don’t count.

**Does Conditional Menu Items slow my site down when it’s switched off?**

No. Every part starts switched off, and a part that is off loads none of its code. Switch on Conditional Menu Items only if your site needs it.

**What if a setting locks me out?**

Add `define( 'TOGGLEWORKS_SAFE_MODE', true );` to wp-config.php. It pauses every part until you remove the line, and Tools → Recent changes lets you undo a change.

**Can I try Conditional Menu Items before I buy?**

Yes. The [live demo](https://togglework.app/demo/) runs a WordPress site with Toggleworks in your browser, and every plan has a 14-day refund.

## Switch off the plugin pile.

All 188 parts, one license, updates and support. 14-day refund.

[Choose a plan](https://togglework.app/pricing/#plans) [Try the live demo](https://togglework.app/demo/)

---

Source: https://togglework.app/features/interface/conditional-menus/
