Skip Navigation

[Resolved] Dsiplaying brother page

This thread is resolved. Here is a description of the problem and solution.

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

Tagged: 

This topic contains 1 reply, has 2 voices.

Last updated by Shane 3 years, 11 months ago.

Assigned support staff: Shane.

Author
Posts
#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: English (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