Sauter la navigation

[Résolu] How to display Content Template into its Grand Parent post?

This support ticket is created Il y a 4 années et 10 mois. 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
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10: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/Kolkata (GMT+05:30)

Ce sujet contient 5 réponses, a 2 voix.

Dernière mise à jour par francescoG-3 Il y a 4 années et 10 mois.

Assisté par: Minesh.

Auteur
Publications
#1536445

Tell us what you are trying to do?
I'm trying to display a content template into a grand parent post.

The child post is lien caché

The parent post is lien caché

The grand parent post is lien caché but if you see the "Comunicazioni" section something went wrong...

What should I do to solve the issue?

Is there any documentation that you are following? https://toolset.com/documentation/post-relationships/how-to-display-related-posts-with-toolset/displaying-fields-of-grandparents/

Is there a similar example that we can see? I don't know

#1537315

Minesh
Supporter

Les langues: Anglais (English )

Fuseau horaire: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Do you mean that on the grandparent post: lien caché
- Do you want to display the grand-child post information?

#1537347

Hi Minesh!
Yes, I want to display the grand-child post information!!!

#1538469

Minesh
Supporter

Les langues: Anglais (English )

Fuseau horaire: Asia/Kolkata (GMT+05:30)

Great - I see you are already using the view to display that information.

Can you please send me admin access details so I can check what's going wrong there.

*** 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.

#1538645

Minesh
Supporter

Les langues: Anglais (English )

Fuseau horaire: Asia/Kolkata (GMT+05:30)

Thank you for the details.

To display the grandchild post, you need to create nested views to query the related child posts. I've created the following views:
- lien caché
- lien caché

I see you are using the Divi theme builder and within your Divi theme builder template, I've just added the view where you can see the "Toolset Change":
=> lien caché

You can format the view's loop editor as per your requirement.

#1539871

Thank you, with your example I have found the solution!!!