Tell us what you are trying to do?
I have 3 PostTypes
- Schools
- Townships
- Regions
And two Relations
- Region - Townships (one to many)
- Township - Schools (one to many)
I would like to show a grid of Schools (Schoolname, Township, Region) in the School Archive. I am able to create a grid of Schools showing Schoolname and Township. But I can't find out how to display the Region of a school.
Is there any documentation that you are following?
I have followed courses and read forums but still am not able to accomplish it. See screenshot 1 for what I have accomplished. See screenshot 2 for what I want to accomplish.
Hello. Thank you for contacting the Toolset support.
To display the grand parent field what you have to do is:
- Create a content template and add the grand parent fields you want to display to it
- Add fields and text block under your view's loop where you want to display the field
- Add the content template you created using the following shortcode:
Where:
- replace relationship-slug with "Region - Townships " relationship slug
- replace my-ct-slug with your content template slug
Can you please try and let me know if that works for you. If now, please share problem URL and admin access details.
*** 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 have set the next reply to private which means only you and I have access to it.
Hi Minesh,... all is clear to me except one small thing. How can I find the slug of Content Templates?
"replace my-ct-slug with your content template slug"