Problem: I would like to display a list of Listing post links. On the same page, I would like to display breadcrumbs showing links to the parent, grandparent, and great-grandparent posts from different custom post types.
Solution: Use a nested Content Template structure to access grandparent and great-grandparent post information from within the Listing post. We have a detailed guide that describes how to access grandparent posts (see link below).
To access great-grandparent posts, you need one more Content Template, which will be used as a nested Content Template. It's all about creating changes in context using post IDs and relationships. The following code is an example. Your slugs will be different, but the concept is the same.
In the Listing post or Listing post Content Template:
[wpv-post-body view_template="cat2-ct-slug" id="[wpv-post-id item='@cat3-listing.parent']"] >> [wpv-post-link item="@cat3-listing.parent"] >> [wpv-post-link]
In the Content Template cat2-ct-slug:
[wpv-post-body view_template="cat1-ct-slug" id="[wpv-post-id item='@cat2-cat3.parent']"] >>
[wpv-post-link item="@cat2-cat3.parent"]
In the Content Template cat1-ct-slug:
[wpv-post-link item="@cat1-cat2.parent"]
Relevant Documentation:
https://toolset.com/documentation/post-relationships/how-to-display-related-posts-with-toolset/displaying-fields-of-grandparents/