It’s really simple, when registering the Custom Post Type use:
register_post_type( 'post_type_name', array (
...
'show_in_nav_menus' => FALSE
...
) );
Related Posts:
- How to add meta box to backend menu page
- How To Display A List Of CPT Posts In A Meta Box On Menus Page?
- Placing Admin Post Metaboxes in Tabs
- Custom post type in submenu with custom meta box as a title with custom html
- Custom Taxonomy as checkbox or dropdown
- Remove current_page_parent nav class from blog index when in CPT
- Why won’t my metabox data save?
- Now can I group custom post types together?
- echo value from ‘select’ field type into page template using cmb2?
- WP_List_Table Inside Metabox Not Working on Submit
- Add metabox with media uploader in a custom post type [duplicate]
- wp_list_pages not showing cpt as I expected
- wp_generate_attachment_metadata gives me an empty array
- Best way to arrange custom post types by Attributes -> Order metabox value?
- Removing Edit Permalink/View “Custom Post Type” areas
- Unable to save custom taxonomy terms in a custom-built metabox
- How to sort CPT by custom meta value (date), and return posts month by month
- Possible to add meta box to edit.php pages?
- How can I include meta box content when searching?
- Create Custom Post Type Archive Page with Sub Categories Navigation Sidebar
- How to customize the Categories meta box to allow only one category?
- Why are navigation items saved in the database?
- Displaying custom posts only if custom meta box’s date is not expired
- ‘Pages’ widget alternative for custom post types?
- How can I display my custom metaboxes on a custom post template?
- Custom Post Type with metaboxes (no content) only?
- Unable to show meta box data in frontend
- advanced search forms with 3 input text and that the main problem 3 input text
- Using My-Meta-Box-Class plugin, how is ‘Date’ value stored?
- Adding dropdown select meta box to custom post type – seems restAPI is interfering
- Function to display custom post type on front page makes menu items dissapear
- Keep display metadata value on backend – Custom Metabox
- What is the best way to correlate one-to-many content-type relationships?
- Is it possible to create relational metabox values in a custom post?
- Changing custom type name hides the posts
- Grouping metadatas into one
- Show Custom Post Type meta boxes only on Page Edit
- Adding Page Templates to post but it ignored it
- Parent Page and Breadcrumb URL’s for Custom Post Types Not Working
- Fixed values for same post translations
- A page that shows a list of a specific custom post type
- How can I move (or create another) publish button?
- Wrap meta boxes & data handling for specific post types in classes?
- Can custom fields be added without a meta box?
- Custom “radio button meta box” not saving correctly
- Meta Data for Custom Post Type not saving
- Remove “show sharing buttons” metabox Jetpack from custom post type
- Including link to custom post type in ‘wp_list_pages’ function
- Display Repeatable Meta Box Content
- Custom Meta Box Causing Error: “Are you sure you want to do this? Please try again.”
- What do the numbers mean at the end of add_action(‘save_post’)…?
- Saving Meta Data within Custom Post Type
- A meta box (in a custom post type) with two different type of fields
- Values from meta-box not on $_POST
- Metabox multiple custom post select -> display selected items?
- Custom post type suddenly stoped working after WordPress 5 update
- Get id from metabox dropdown
- Custom posttype content metabox
- Reusable metabox backend and frontend
- Filter posts of custom post type by meta key in (List All Section)
- How can I output WPAlchemy repeating fields meta values in my page template?
- How can I modify a custom post type and custom page template for a child theme if all content seams to be handled by theme’s ‘native’ plugin?
- Meta box data not saving
- saving dropdown menu data on custom post type
- Set Default Option Value as Blank for Meta Box
- Questions regarding add_meta_box()
- How to retrive Custom Post Type Meta Fields in Custom WP_Query
- Cannot Save MetaBox Data in Custom Post Type
- Custom post type meta box empty after save
- How to add a class to meta boxes (to customize them in CSS)?
- highlight parent page menu item when in custom post type
- Custom post type post in custom menu
- Metaboxes inside Tab
- Custom Post Type meta data getting deleted on bulk editing taxonomies
- Create post meta box that links another post
- Show a custom post title in another custom post type in Meta box
- How to avoid duplicate posts queried from custom meta?
- Modify Publish Metabox location on CPT
- PHP Warning with Custom Fields
- Custom taxonomy with custom post type archive page
- Simple Data picker meta box
- Wrong post ID in meta box callback
- Possition a Custom Post Type Tab under Settings
- How to shows CPT which has specific meta key?
- wp_dropdown_pages doesn’t allow me to select more than one custom post type
- Delete custom post type metadata without deleting the post in admin area
- Metabox is not saving
- Custom metabox fields not saving when limited to a certain CPT
- Not Able to Display Metabox Saved Checkbox and Selected option After Save/ Update
- Select custom post by meta value
- Make meta box appear if the previous if not empty?
- Adapting plugin for custom post type?
- Getting (Invalid) when adding custom taxonomy of custom post type link in menu [closed]
- Custom post type – permalink
- WP_Query arguments: Loop through custom post type – get all entries except excluded meta_key?
- How to query custom post then display sections by meta value
- Custom meta box includes
- Post AND page parameter for WP function
- Highlight specific menu item when custom post is page
- Display div based on Group metabox selection [closed]