Skip Navigation

[Resolved] Showing the taxonomies of all child-related posts in a parent-post-template

This support ticket is created 4 years, 6 months ago. 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)

Tagged: 

This topic contains 3 replies, has 2 voices.

Last updated by Shane 4 years, 6 months ago.

Assisted by: Shane.

Author
Posts
#1655421

Hi there,

I want to show a Taxonomie-Cloud of all (connected) Child-Posts within a Parent.Post-Template.
I tried this solution but it doesnt work:
https://toolset.com/forums/topic/getting-a-list-of-taxonomies-used-in-child-views/

If I create a loop, I will have duplicate content

Thanks in Regard, Alex

#1655901

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Alexander,

Thank you for getting in touch.

To get this clear you want to display the taxonomy terms of the child posts on the Parent Post template? Meaning you don't want to display the child posts just their taxonomy terms correct?

Please let me know.
Thanks,
Shane

#1655917

Hi Shane,

right. I have a Parent.CPT = Tatenbank-Fallbeispiel and related Child.CPT = Tatenbank-Massnahmen. I already have a View wich works fine. But I also want to have Loop of specific Taxonomy-Terms (Tatenbank-Schlagwörter) of the 3 related Child.CPTs in a Sidebar and also link them to the Archive. The problem is, that a view generates duplicate content (terms) because some of the related Child.CPTs have the same taxonomy.

hidden link

Thx, Alex

#1656101

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Alexander,

Ok so this is the issue now, given that you are pulling the taxonomy terms based on the relationship data of the child post there will be repeats.

There isn't really anything we can do about this given the way view works. Essentially your specific case isn't achievable since you require the child post to display the terms and there are duplicates among them.

Thanks,
Shane