but I can't get it working.
I created a Content Template to show the "Anecdotes" related to the "Films" and then insert this Template into a View inside the "Route" but it's not working...
[types field='contenido-de-anecdota' item='@pelicula-anecdota.parent'][/types]
Is there a similar example that we can see?
It's pretty simple I guess. I just want to know how to display grandchildren posts, isn't it?
What is the link to your site?
It's on development but you can have a view if you need it here hidden link
It should work as intended given that the setup has been done correctly.
Would you mind allowing me to have admin access to the website so that I can see what you've setup so far.
Based on how this works you will need 2 identical parent views, one displaying the direct parent and another displaying the same direct parent but calling it's parent. This would in turn give you the grandparent.
The private fields have been enabled for your next response.
To get this 100% clear, when I checked your relationship, what you actually want to display is the grandchildren and Not the grandparent.
So confirm that you want to display the list of "Anecdotas" on the Ruta page.
This will essentially require you to do a nested view setup. Where one view will display the children of the Ruta page and then the other will be nested in that Child view in order to display the grandchildren.
Can you confirm this so that I can provide the suitable instructions on how to achieve this.
Follow the instructions below.
1. Create a view fo the Anecdotas
2. You can customize the view with how you want your posts to display.
3. On the Anecdotas view scroll to the Query Filter section and click Add A Filter. See Screenshot.
4. Select the Post Relationship filter and add it.
5. Set your relationship settings and then select "the current post in the loop". See Screenshot.
6. Create another view for Films and follow the same procedure from steps 1-4.
7. After following steps 1-4 you will now set the filter to "The Post where this view is shown".
8. Now what you will need to do is add your Anecdotas view into your Films view inside the section that is displaying the content.
9. Add your Films view to the Routes template and it should start listing out the data.
Please let me know if this was clear or if you had any difficulties following and I will be more than happy to clarify.