by Reza Sarailoo on WordPress.org
Target menu items by role, device, schedule, and campaign rules using a fast, native conditions interface inside the menu editor.

Menu item meta box with the Display Conditions button inside Appearance ▸ Menus.
Menu Ghost lets you conditionally display each menu item based on factors like user role, device, date, pages, and more.
Design frictionless navigation experiences and boost conversions by only showing relevant menu items to each visitor. Menu Ghost integrates with the native WordPress menu editor and adds a modern conditions interface that feels like it belongs in core. Everything happens inside Appearance → Menus (classic themes) or Site Editor → Navigation (block themes) no shortcodes or template edits required.
Menu Ghost gives you total control over which navigation links appear and when. Build unlimited rule sets per menu item, combining audience, page, schedule, and campaign conditions. Hide seasonal promotions after a sale ends, display member-only dashboards, or show localized links based on browser language.
The interface is built with React and uses WordPress components so it remains responsive, accessible, and familiar. All rule data is stored in post meta to keep compatibility with exports, migrations, and backups.
ref=partner) before the menu item appears.The source code for Menu Ghost lives in the public repository at https://github.com/sarailoo/menu-ghost.