[Resolved] Showing Other Child Posts on a Child Post Page
This thread is resolved. Here is a description of the problem and solution.
Problem:
Showing Other Child Posts on a Child Post Page using view OR
Display all other Teacher Posts (child) of the same Teacher (parent) which the current child Teacher Posts belongs to
Solution:
You should filter your view by post relationship with shortcode attribute and pass your parent Id as value to shortcode attribute to display the related child post.
I have a parent CPT of Teachers and child CPT called Teacher Posts. On the child Teacher Posts I’m trying to output the other Posts(Other Teacher Posts) by that teacher but can’t get this working.
hidden link
I’ve create a View to output Teacher Posts with a Post Parent Filter set to “Post with ID set by the shortcode attribute wpvchildof”
And tried various shortcodes but none seem to work, even with a specific ID it just outputs all the Teacher Posts:
Hello. Thank you for contacting the Toolset support.
Well - as I understand, you want to display all other Teacher Posts (child) of the same Teacher (parent) which the current child Teacher Posts belongs to?
if yes - I need to check your view settings - could you please share problem URL and access details so I can review your current relationship structure as well as a text example what should be your expected output.
*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.
I would additionally need your permission to de- and re-activate Plugins and the Theme, and to change configurations on the site. This is also a reason the backup is really important. If you agree to this, please use the form fields I have enabled below to provide temporary access details (wp-admin and FTP).
I have set the next reply to private which means only you and I have access to it.