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

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

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é : 

This topic contains 1 réponse, has 2 voix.

Last updated by Shane Il y a 6 années et 2 mois.

Assisted by: 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

Languages: Anglais (English )

Timezone: 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

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.