Create Parents / Children Relationship between different post types checking one or more parent.
Please Vote and Enjoy
Your votes really make a difference! Thanks.
- Before starting, you have to create your Custom Post Type with an plugin or coding wordpress with register_post_type.
- In case of Warning: Cannot modify header information – headers already sent by
You can activate the buffer using: ob_start();
Now posts and pages may be sons of custom posts, beyond their own custom posts.
Bug fix. Shows only if there are parents.
Now you can define the parent post at the edit post page checking the boxes with parent post.
Added permalink to children post.
Added screenshot-10.png and screenshot-11.png
Added static function viewChildren to be used whit single.php
New plugin Custom Post Typ Tree – parent-child relationship
This version works with thumbnail, parent post, post id, post name and this post id of an custom post type tree