Skip Navigation

[Resolved] Show content from Grandchildren in Grandparent Archive

This support ticket is created 4 years, 1 month ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Karachi (GMT+05:00)

This topic contains 3 replies, has 2 voices.

Last updated by Waqar 4 years, 1 month ago.

Assisted by: Waqar.

Author
Posts
#1839629

Tell us what you are trying to do?
We try to show a list of grandchilds Titles (with url link) in a grandparent archive page.
But we didn't find the correct way to handle these working with Toolset Blocks.
We found in old posts still these link https://toolset.com/documentation/post-relationships/how-to-display-related-posts-with-toolset/displaying-fields-of-grandparents/
But it does'nt show longer a specific information for grandparent relationship

#1840771

Hi,

Thank you for contacting us and I'd be happy to assist.

To show children and grandchildren, you'll need to use nested views, which is not currently supported through the Blocks editor.

To achieve this, you'll need to use the classic/legacy views editor:
https://toolset.com/documentation/user-guides/views/

regards,
Waqar

#1840775

Hi Waqar,

that means, we create directly over Toolset dashboard such views and place the finished views than over the views block in Block editor?
Second question - your old documentation about handling grandparent relations with "classic views" could not reach longer (https://toolset.com/documentation/post-relationships/how-to-display-related-posts-with-toolset/displaying-fields-of-grandparents/), because it was redirect to https://toolset.com/course-lesson/displaying-related-posts/ .
Is it possible to reach that documentation again to handle these relation?
Bye Thomas

#1842101

Thanks for writing back.

> that means, we create directly over Toolset dashboard such views and place the finished views than over the views block in Block editor?

- The "Views" block in the block editor doesn't support the nested views, which is why I won't recommend to use it for this case.

You can create your classic/legacy editor views in the admin area and then on the page where you'd like to show it, you can add a "Fields and Text" block and insert the shortcode of the parent most view and it should work.

> Second question - your old documentation about handling grandparent relations with "classic views" could not reach longer (https://toolset.com/documentation/post-relationships/how-to-display-related-posts-with-toolset/displaying-fields-of-grandparents/), because it was redirect to https://toolset.com/course-lesson/displaying-related-posts/ .
Is it possible to reach that documentation again to handle these relation?

- Here is the new link for that guide:
https://toolset.com/documentation/legacy-features/views-plugin/displaying-fields-of-grandparents/

You'll find the useful guides on using the classic/legacy features at:
https://toolset.com/documentation/user-guides/views/
https://toolset.com/documentation/legacy-features/