GoApp Hide Draft Menu Items
Automatically hide navigation links to draft Pages, Posts, Products and custom post types from visitors while keeping them visible to administrators.
What does it do?
GoApp Hide Draft Menu Items keeps unfinished WordPress content out of live navigation menus without forcing administrators to repeatedly add and remove menu items during production.
If a WordPress menu item points to content whose post status is Draft, the menu item is automatically hidden from all non-admin users. Administrators can still see the item on the front end, where it is clearly highlighted in red with a DRAFT badge.
- Automatically detects menu items linked to draft content
- Supports Pages, Posts, WooCommerce Products and public custom post types
- Hides draft-linked menu items from logged-out visitors
- Hides draft-linked menu items from non-administrator logged-in users
- Keeps draft-linked items visible to administrators
- Highlights administrator-visible draft links in red
- Adds a clear DRAFT badge to administrator-visible menu items
- Published and other non-draft menu items remain unchanged
- Works through the standard WordPress navigation-menu system
- No manual menu maintenance required when content moves between draft and published states
- Version 0.1.0