Skip Navigation

[Résolu] Dsiplaying brother page

Ce fil est résolu. Voici une description du problème et la solution proposée.

Problem:
The issue here is that the user wanted to display the brother pages of his post relationship.
Solution:

The solution to this can be found in our documentation below.
https://toolset.com/documentation/user-guides/displaying-brother-pages/

Also when it says $parent you will need to use the slug of the parent CPT so if your Parent CPT is Cars and the slug is cars then in order to get the Parent information you will need to do id='$cars'

This support ticket is created Il y a 6 années et 11 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.

Aucun de nos assistants n'est disponible aujourd'hui sur le forum Jeu d'outils. Veuillez créer un ticket, et nous nous le traiterons dès notre prochaine connexion. Merci de votre compréhension.

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

Supporter timezone: America/Jamaica (GMT-05:00)

Marqué : 

Ce sujet contient 1 réponse, a 2 voix.

Dernière mise à jour par Shane Il y a 6 années et 11 mois.

Assisté par: Shane.

Auteur
Publications
#602652

Hi,
I'm following this guide:
https://toolset.com/documentation/user-guides/displaying-brother-pages/

But I can manage to make i work

When it said "using the id=”$parent” " does it mean my custom parent id or this is a generic parent that should be use? I mean should I use MY id from my parent CPT?

My main concern is that when selecting mt parent under view I got a message that claim that my CPT is not hierarchical but when checking the parent-child relationship it seams to be fine and is working when I create my views in a regular parent-child

I think I don't understand the tutorial 🙁

Thanks

#602682

Shane
Supporter

Les langues: Anglais (English )

Fuseau horaire: America/Jamaica (GMT-05:00)

Hi Cesar,

When it says $parent you will need to use the slug of the parent CPT so if your Parent CPT is Cars and the slug is cars then in order to get the Parent information you will need to do id='$cars'

Please let me know if this helps.

Thanks,
Shane