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
- Related links – from other sites
- Showing Custom Content in a Nav Dropdown
- Extend the wp_get_archives output with ‘?post_type=foo’?
- Why is my custom loop not filtering correctly nor paginating?
- Sub-Sub-Blogs — creating and importing content into a custom sub-type
- Custom post types with custom directories
- WP_Query search posts by custom post type and custom taxonomy
- Saving repeated option values in a custom query
- Check Title Unique Or Not and If not error message and dont save
- removing custom tax & CPT slug, adding taxonomy term in front of custom type
- Dynamic Custom Post Type Plugin
- Order WordPress Custom Taxonomy Pages & Pagination Not Working
- I am having a problem with form updating/editing WordPress post on the frontend
- How to filter out post type meta?
- How to make in WordPress admin panel sortable column for the custom field, that count the number of page impressions?
- Hierarchical Custom Posts – Highlighting Current Post in Sub-Menu
- Display custom field of specific post where post title matches variable
- Conditional to modify query results
- Loop through posts of a custom-post-type (event) and create .ics (iCal) file?
- How does the $post_type global variable work?
- Remove All, Published and Trashed Post Views in Custom Post Type
- How to customize admin posts based on the user who is logged in
- Custom Post Type | Fatal Error on register_post_type()
- Output custom post shortcode. Help spot the error.
- How to count custom post types with conditional operators
- Custom Post Type, Saving Multiple Checkboxes
- How can I display custom post types under multiple views?
- How to post twitter like updates on wordpress
- Show Two custom Post type and their posts on category page
- How to get all `supports` attributes by post type?
- How to create an advanced filter search?
- WP_Query is printing out only one post when posts_per_page is set to multiple
- WP Query to displaying date and posts for that date?
- GravityForm: Populate Dropdown with custom post type [closed]
- Return array of categories to php function for current post
- Link users to a custom post type
- Custom search for custom post meta with pre_get_posts interferes with WP search
- Create a random unique 6 digit number as custom field for custom post type
- How to output wordpress custom tags separated by comma?
- Loading all files within a directory
- Assigning the same custom meta box to multiple post types
- Blog page showing same content as homepage
- Custom Post Type Navigation on Custom Field
- apply filters only to specific post listing without check the url parameters
- Custom Post Type Taxonomies -Posts not showing in Category or Tag pages
- Dynamically add / duplicate custom meta in custom post types
- WordPress if in term*
- Custom post type and body_class: Remove “blog” class
- Setting posts per page in query_posts
- How to insert content from another Custom Post type into Post?
- Using several custom fields as custom post title
- Custom Post Type without an archive page
- Show Different Header on a Specific Post ID
- Get Post Primary Category
- A good strategy to print custom posts (offer) that are checked inside the metabox of a post?
- Placeholder in HTML editor text area?
- Deleting Custom Post type data using mySQL command
- Admin notice not displaying
- How can I create a custom meta box to add an mp4 video to a page?
- Add/Remove current_page_parent class
- Can’t get order_by meta_value_num to work properly
- Twenty Fifteen: Adjacent posts by menu_order [duplicate]
- Create custom post type on successful woocommerce order [closed]
- Adding custom tables to WordPress
- Delete link on single-custom.php with redirection
- How to structure a site with product variations pages?
- Taxonomy Archive: Display only one post per term from separate custom taxonomy
- CPT: if more than X images are in post, use pagination
- Very Slow Page – How to Optimize # of Queries?
- Is there a way to have the view link on manage posts page to open in a new window or tab?
- Dynamic page outside WordPress
- Getting rid of /my_custom_post_type/ in the single view URL
- Custom post type menu missing after 3.0b2 -> 3.1.2 upgrade
- Custom Post Type – List all attachments on Edit Screen
- Using wordpress template tags within an array
- How to display Custom Post Type Post based on Tag with Shortcode Parameter?
- Getting the URL of the parent page
- Custom query to filter posts that have current post as a taxonomy [closed]