Yes, this capability is available with register_post_type
, via the show_in_menu
argument, but whether or not the particular plugin you are using supports this I don’t know.
add_action( 'init', 'wpa70679_custom_types' );
function wpa70679_custom_types() {
register_post_type( 'parent_type',
array(
'public' => true,
'labels' => array(
'name' => 'Parent post type'
)
)
);
register_post_type( 'child_type',
array(
'public' => true,
'show_in_menu' => 'edit.php?post_type=parent_type',
'labels' => array(
'name' => 'Child post type'
)
)
);
}
Related Posts:
- How to create a permalink structure with custom taxonomies and custom post types like base-name/parent-tax/child-tax/custom-post-type-name
- Is It Possible To Add Custom Post Type Menu As Another Custom Post Type Sub Menu
- Placing a Custom Post Type Menu Above the Posts Menu Using menu_position?
- How to set parent-child relationship between differents custom post types
- Integrating a custom post type into a page hierarchy
- Custom Post Type Settings page, choose page to display archive
- Nested custom post types with permalinks
- Put update-like notification bubble on multiple CPTs menus for pending items
- Change custom post type to hierarchical after being registered
- Meta Boxes: ‘admin_init’ or ‘add_meta_boxes’ hook?
- Show Custom Taxonomy Inside Custom Menu
- Remove “posts” from admin but show a custom post
- How To Limit Hierarchical Pages Depth (For Custom Post Types) To Children Only
- Display a list of child posts on parent posts of a custom post type
- Custom Post Type as Page parent
- How to handle a hierarchy with custom post types
- Is it OK to move admin menu items?
- set a CPT as parent of a page
- Hierachical Custom post types permalinks not working
- How Do I Programmatically Better Organize Custom Post Type Menus?
- Add Post type menu to another menu
- How do I create multiple post types in same menu section in WP-admin?
- Is there a way to keep a custom menu expanded when editing a custom post type?
- Child pages on hierarchical Custom Post Types 404s
- How can I combine posts of different types in one hierarchy?
- Menu position (admin menu) of pages
- Custom Post Type ‘hierarchical’ Help!
- How to check if last uri segment is a custom post type or taxonomy term?
- Custom permalinks – post type – hierarchical taxonomy’s
- How to remove/hide elements from the admin menu?
- How to show term-specific post list, without posts associated with child terms?
- Remove Custom Post Type menu for non-administrator users.
- URL Design for Sub-Posts?
- How to query for posts (in hierarchical custom post type) that have children?
- How do I code access to the built-in UI of a CPT when it’s placed as submenu of another CPT that is protected by role?
- Getting taxonomy terms used by custom post type
- Custom Taxonomies: Multiple Hierarchical Permailnks For A Single Post + Prev/Next Links
- Custom Post Type and taxonomies’s labels localization not working
- how to only have one custom post type post?
- How can I use a different default admin menu icon for custom post type?
- wp_list_pages doesn’t work in hierarchical custom post type
- custom post type index page
- Post type hierarchy
- How to allow “Add New” capability of CPT when links to its UI are placed as a submenu?
- Hierarchical or Non-hierarchical Custom Post Type in Real World Example
- Detect if 1st, 2nd or 3rd level custom page?
- How to add new tab to admin list of posts and handle result list
- Hierarchical Custom Post Types or Similar
- Custom post type routing with hierarchy
- Parent / Child formatting in a list of post of a custom post type
- Displaying different custom post types under one admin menu
- Show hierarchical relationship between to custom post types on admin list
- Custom post type hierarchical permalinks not behaving as expected for parent/child pages
- How to create a permalink structure with custom taxonomies and custom post types like base-name/parent-tax/child-tax/custom-post-type-name
- Add management screens to post type
- How to Combine Two Custom Post Types into Single Permalink Structure
- Custom Posts Hierarchy? (State/City/Restaurant)
- Custom Post Type with two hierarchical Custom Taxonomies: strategy to generate best permalink structure
- Automatically populate a hierarchical taxonomy from a custom field
- Hierarchical Custom Posts – Highlighting Current Post in Sub-Menu
- How do I alter the position of a Custom Post Type menu item within my plugin admin menu?
- How to add custom post type under option page
- How to remove default tag and category options form a custom post type admin menu
- Remove base slug in permalinks of hierarchical custom post type
- Prevent custom taxonomy from being added to admin menu?
- Trying to add script to specific admin page is not working
- Modifying Custom Post Type after registration (will it affect content?)
- Custom Post Type / Tab Limit
- rewrite custom post type slug in wp admin
- Hierarchical Custom Post Types – Show only parent on tax archive?
- Twenty Fifteen: Adjacent posts by menu_order [duplicate]
- Display custom post type in hierarchical order with get_terms
- How do increase the amount of links shown down the left in the admin menu?
- Should I use custom taxonomy or custom post type
- How to get the parent of a non-hierarchical custom post type being edited in Gutenberg
- post_row_actions not working for hierarchical post type
- Move custom post menu to under plugin admin menu
- Insert & order custom post types in/as submenu
- Custom Post Type / Two level deep taxonomy (cat. and subcat.) uri problem (error 404)
- With two custom post types, how to make one a child of the other in the admin menu?
- Hierarchical Custom Post Types in Array
- WordPress Custom Post Type Children Template
- Use a hierarchical custom post type for a main blog and subblogs?
- Custom post types as sub menu pages and role capabilities issue
- How to create custom url structure based on custom post type rewrite slug, taxonomy and category slug?
- How to set a CPT to have a page as a parent, then rewrite urls accordingly?
- How to display Custom Taxonomy under Custom Admin Menu?
- Able to edit custom post, but unable to create new custom post when within submenu. What capability is missing?
- Add Custom Post Type as top level menu item for a custom page
- Rewrite Rule for showing Parent/Child Relationship between Two Hierarchical Custom Post Types
- Possibilities for the edit.php admin panel? [closed]
- Need help with permalink rewrites for Custom Post Types with hierarchical relationships
- Add Custom Post type menu to another menu in specific location
- How to add a regular page under a custom post type?
- Admin menu link with variable
- Can’t add custom post type archive page to menu
- How to develop Knowledge center in WordPress Website
- How to have a hierarchy of custom post types and use two of them in the permalink?
- List all posts in hierarchy and groupped by each taxonomy
- One custom taxonomy with unique sets of labels for two post types?