Hide Drafts in Menus

Hide unpublished pages in your custom menus.

Author:Room 34 Creative Services, LLC (profile at wordpress.org)
WordPress version required:4.0
WordPress version tested:6.4
Plugin version:1.5.0
Added to WordPress repository:10-11-2016
Last updated:01-11-2023
Rating, %:100
Rated by:8
Plugin URI:http://room34.com
Total downloads:9 861
Active installs:1 000+
plugin download
Click to start download

If you unpublish a page or post, it still appears in your custom menus. This plugin automatically prevents pages/posts set to “draft” or “pending review” from appearing in custom menus on the site, while keeping their place in the menu structure. When they’re published, they’ll appear in the menu automatically.

This plugin also modifies the custom menu editing screen to clearly indicate the unpublished status of items in the menu.

NOTE: We are aware of a limitation in the plugin, that a page/post must be published to appear in the list of items you can select to add to the menu. We are working on a solution. In the meantime, the workaround is to temporarily publish the page/post, add it to the menu, and then set it back to “draft”.


ChangeLog