One custom post type cannot be the child of another. hierarchical
means: Each post can have children of the same post type, like pages.
If you need relationships between different post types use the Posts 2 Posts plugin.
Another option would be a custom hierarchical taxonomy for two post types. You could use it to assign the first post type to the parent terms and the second to the child terms of that taxonomy. That’s probably as messy as it sounds. 🙂
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
- How to set parent-child relationship between differents custom post types
- Integrating a custom post type into a page hierarchy
- Nested custom post types with permalinks
- Change custom post type to hierarchical after being registered
- 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
- Can I have Post Types under other Post Types in Admin menu?
- set a CPT as parent of a page
- Hierachical Custom post types permalinks not working
- Child pages on hierarchical Custom Post Types 404s
- How can I combine posts of different types in one hierarchy?
- How to check if last uri segment is a custom post type or taxonomy term?
- Custom permalinks – post type – hierarchical taxonomy’s
- How to show term-specific post list, without posts associated with child terms?
- URL Design for Sub-Posts?
- How to query for posts (in hierarchical custom post type) that have children?
- Getting taxonomy terms used by custom post type
- Custom Taxonomies: Multiple Hierarchical Permailnks For A Single Post + Prev/Next Links
- wp_list_pages doesn’t work in hierarchical custom post type
- custom post type index page
- Post type hierarchy
- Hierarchical or Non-hierarchical Custom Post Type in Real World Example
- Detect if 1st, 2nd or 3rd level custom page?
- 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
- 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
- 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
- Remove base slug in permalinks of hierarchical custom post type
- Modifying Custom Post Type after registration (will it affect content?)
- 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
- 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
- Custom Post Type / Two level deep taxonomy (cat. and subcat.) uri problem (error 404)
- Hierarchical Custom Post Types in Array
- WordPress Custom Post Type Children Template
- Use a hierarchical custom post type for a main blog and subblogs?
- 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?
- Rewrite Rule for showing Parent/Child Relationship between Two Hierarchical Custom Post Types
- Need help with permalink rewrites for Custom Post Types with hierarchical relationships
- Rewrites/query for multiple hierarchical custom post types
- A case for Hierarchical Custom Posts
- Templates for hierarchical custom post type
- custom hierarchical taxonomy and custom post type list contains surplus posts
- Creating a non-hierarchical Taxonomy that behaves like categories
- How to query for posts (hierarchical custom post type) that have children but are NOT top level?
- Migrating Hierarchal Taxonomy Categories Between Post Types
- Ideas on how to organize a project [closed]
- Add search to ‘Parent’ dropdown
- How should I structure complex content hierarchies?
- Query all post types but limit to parents
- List child categories from parent category on custom taxonomy page
- Custom post type hierarchical loop in Homepage
- Does “Custom Post Type” can have page hierarhy option?
- Creating an Events Feed with Sub Pages/Posts for Each Event
- How to set a ‘page’ as parent of a custom post type?
- Permalink with hierarchy of Custom Post Types
- Setting Custom Post Type Parents/Hierarchies
- Custom taxonomy terms hierarchical navigation
- Having hierarchies inside WordPress custom post type
- How to convert hierarchical Pages to hierarchical Custom Post Types? Slugs get a number as if they were duplicates
- Custom Post Type parent/child relationship rewrite rules for permalinks
- Attempting to get number of grandchildren of page in WP_Query loop
- Custom post types & Pages hierarchy – Error 404
- hierarchical Custom post type child permalink not found
- Create a Hierarchical List of Custom Taxonomies AND Posts
- Display posts of a hierarchical custom post type excluding parent posts
- Most efficient way of showing children posts?
- Hierarchical Custom Post Type Walker?
- Display a Custom Post Type within another with hierarchically slug
- Custom Post Hierarchy and users
- Custom Post Type categories at edit post not hierarchical
- How can I add a “fake” parent into the permalink?
- taxonomy term names in custom post type permalink structure
- Custom Post Type Child Pages
- Cross post type parent page added parent page to permalink but give 404
- General question about Parent and Child Post type relationships
- Hierarchy between post types
- Custom taxonomy archive not showing posts of certain child taxonomies
- Specifying Default Template for Hierarchal Custom Post Type [duplicate]
- Rewriting hierarchical post type
- Hierarchical Custom Post Types
- How do I assign the post parent?
- How to add a regular page under a custom post type?
- 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