Saltar navegación

[Resuelto] Dsiplaying brother page

Este hilo está resuelto. Aquí tiene una descripción del problema y la solución.

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 hace 6 años, 12 meses. 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 – 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)

Etiquetado: 

Este tema contiene 1 respuesta, tiene 2 mensajes.

Última actualización por Shane hace 6 años, 12 meses.

Asistido por: Shane.

Autor
Mensajes
#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

Idiomas: Inglés (English )

Zona horaria: 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