Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

Go to Appearance > Menu in the ACP.

From there, you can select various items to include in your site's main navigation menu.

In the left column, you will see Pages, Links and Categories.

Since I'm using "Custom Post Types", I also see each Custom Post Type listed in between Pages and Links, which gives me the option of adding an individual post from each CPT into the website's Navigation Menu.

I'll never need to add an individual post from my CPT's into the navigation menu, so I'd like to remove my Custom Post Type boxes from the Appearance > Menu screen.

Google is taking me in circles because my question is about configuring the menu that configures the menu.

share|improve this question
add comment

1 Answer 1

up vote 0 down vote accepted

I found the answer after I typed out the question so I'll post it at the same time.

The solution is to set the show_in_nav_menus option to false when registering the Custom Post Type.

http://codex.wordpress.org/Function_Reference/register_post_type

show_in_nav_menus (boolean) (optional) Whether post_type is available for selection in navigation menus.
Default: value of public argument

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.