OK, then this looks as the below:
1. Custom Post Type (CPT) "Tips" is child to:
- CPT "MBR Services" >> has 3 posts
- CPT "Racecourses" >> is irrelevant to this Thread
2. You have set ALL "Tips" to be child to either Platinum Membership, MBR Live and Premium Bets which are all CPT "MBR Services"
3. If the hidden custom field in the Child Post "Tip" is correctly populated with the parent Post ID, and the meta_key of this field is correct, Views will react as follows:
- Query Filter in a View for "Tips" > Select posts that are children of... [MBR Services] > Platinum Membership
- Loop as example is the Post Title
==> It will output all "Tips" that are child to the above Post in the given Post Type.
This works 100%.
I see that you edited via SQL the DDBB relationship and that might have introduced some issues, or the relationship was not saved properly initially.
To debug the issue I suggest this:
1. Head to Views > Settings > Hidden Custom Fields
- find the hidden Custom field that must look as this:
_wpcf_belongs_parent-post-type-slug_id
- check the box next to it and save
- go and create a new view, query the Post Type "Tips" with no filters or searches or restrictions.
- in the View Loop output this:
<li>[wpv-post-title] is child to: ID - [wpv-post-field name='_wpcf_belongs_parent-post-type-slug_id'] Post Title - [wpv-post-title id='[wpv-post-field name='_wpcf_belongs_parent-post-type-slug_id']']</li>
If the above code dos not work, please remove all the part of "Post title - and subsequent ShortCode"
This should now output a List of "Tips", with the corresponding parent Post ID next to it.
If you can not find the Platinum Membership Post ID, it means its' not saved, the field is not named correctly or another DDBB issue exists.
Please let me know the results.
Thank you for your patience.