There are way’s to get around it to create this kind of grouping or relationship:
- “manually” – set the post_parent
field to the parent ID (by manually
i mean code something that will do
that for you when you publish a
CPT). - Using a shared custom taxonomy to
create a grouping of posts and you
will have the ability to filter /
query posts based on that taxonomy
term. - using a post meta field (custom field) on your custom post type that will hold the parent page id and once again have the ability to to filter /
query posts based on that custom field - using a plugin like Posts 2 Posts which uses a db table to create a many to many relation between posts and adds some cool query features.
depends on your needs but i think at least one of these should do the job.
Related Posts:
- Custom post status not working
- Get custom post type by category in a page template
- Error after deleting Custom Post Type with a function (no trash used)
- How do you output custom code between posts in the loop?
- wp_get_nav_menu_items wp-admin/customize.php problem
- Get rewrite slug of custom post type in template
- Weird problem happening with custom taxonmy when creating/updating posts
- How to customize a permalink (URL) structure?
- Creating a non-hierarchical Taxonomy that behaves like categories
- List All Custom Post Types Posts in Nav Menu Dynamically
- post_content is stripping HTML when adding a new post? [closed]
- Displaying One Custom Post Type’s Content On Single Post of Another Custom Post Type
- How do I ensure that post_type and Taxonomy use the same slug?
- Why is my custom post content only viewable when signed into WordPress?
- How to limit the number of custom posts certain users can publish in WordPress using php script?
- current-post-parent for custom post type
- Stored meta from attachment, video length?
- WordPress query posts by custom post type not workng
- How to display all custom fields associated with a post type – IN THE ADMIN AREA?
- Create 2-layered dropdown menus for custom taxonomy and custom post type
- Select Menu for Custom post Type does not save
- Inserting two categories
- Restrict custom post type to only site administrator role
- How to force one column layout on custom post type edit page?
- How does one delete orphan custom post type?
- Localization For Two Different Regions/Domains with the Same Language
- Add comments meta fields to comments metabox on post edit screen
- Include images from pages in wp search.php results in default wp search
- List events by month
- Custom Post Type by user
- posts_nav_link on single post template
- Interesting Custom Post Type Slug with Taxonomy and Custom Field
- Adding a span when custom post type is updated
- Custom Post Type post ordering not working
- WP 3.1 getting tax_query to work in query_posts()
- Output custom post shortcode. Help spot the error.
- Assigning the same custom meta box to multiple post types
- Blog page showing same content as homepage
- A good strategy to print custom posts (offer) that are checked inside the metabox of a post?
- Very Slow Page – How to Optimize # of Queries?
- How to display selected taxonomies by their parent
- Custom Field Order by Last Name and First Name
- Get custom post type list for every category shortcode
- How do i calculate the total of values of custom fields in custom post types?
- Custom post type – get_day_link()
- Meta query for custom post type ignored in main query
- Use same slug base for Custom Post Type posts, and multiple taxonomy terms
- Custom Path/Folder behind a custom post type
- Use custom metabox to update automatically a post after a given date
- WordPress custom post type split into pages
- How To Show All Custom Post Types In A Category Instead Of Pagination?
- Assign External Database Queries to Global Variables and Make Them Accessible
- How do i search authors from search form using author’s name
- Get data from PHP to JavaScript to set position of each post on front page
- Removing full title and breadcrumb header container for a specific post type
- Query custom post types & Taxonomies and list them in a table on a page
- Creating a “glossary” of WordPress posts of a specific post type
- Using Pagination for Custom Post Type and keeps returning 404
- Nested Custom Taxonomies | Incorrect posts when querying
- Validate Custom Post Type fields
- meta query not retrieving posts
- How do I get the index for a custom post?
- Commas not displaying in implode
- Create custom WP_List_Table in post_type
- add custom tags for custom post type in wordpress
- CPT Repeatable Fields + Undefined Index
- CMB select with data from CPT
- Problem with customize page cached in WordPress.com [closed]
- Is it a connection or relationship between 2 custom post types?
- Multiple categories assigned to a single product breaking the breadcrumb
- redirect after submiting post for review
- How to get next post link of child custom post type from parent post and get next post link of parent post from the last child post?
- Custom front-end form for adding post – Category problem
- Adding a location field to buddypress activity
- Get only parent post in archive post
- How can I assign multiple parents to CPT?
- Get meta values from parent post and save in child post
- Getting 404 on child page with pre_get_posts() on custom posts
- Limit posts per page depending on the size of a div?
- save_post affect creation and deletion
- Duplicate posts in my custom loop
- Set a static page as a user profile page?
- WordPress loop add heading before first of type
- get_post_meta for Custom Post Type ( CPT )
- How to keep a CPT stick to specific position?
- Meta box not saving
- Featured image in custom post is being disabled
- WP_Query for CPT with filter by another WP_Query
- Problems with a custom meta_box
- Custom Post-type not returning the right child_of
- How to apply order on custom taxonomy and custom meta key on custom post type
- WordPress Set A Static Page/Template For All Sub-Pages
- Add HTML before a specific div?
- How to make a template for a specific post of a custom post type?
- Bulk update custom post types
- Is there any way of not using my_init_method in the following code (that creates a custom post type)?
- Display ONLY ONE $term (Out of 4 terms) from a Custom Taxonomy and CPT
- ACF select box css color change
- Same slug for Custom Taxonomy archive and CPT archive – Rewrite rule not working
- is therer any wordpress function to retrieve a specific html element from post content