Skip Navigation

[Resolved] In a given CPT, in taxonomy1 i need to display posts divided by taxonomy2

This support ticket is created 3 years 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 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Karachi (GMT+05:00)

This topic contains 1 reply, has 2 voices.

Last updated by Waqar 3 years ago.

Assisted by: Waqar.

Author
Posts
#2284987

In a given CPT "Affiliated Organisations", in taxonomy1 "called pillars", and more specifically only in "Communities Partners", i need to display posts divided by taxonomy2 called "Communities countries".
In other words, this page: hidden link needs to be changed to display names of countries, and all organisations belonging to this country.
Can't find a way how to do that, can you please advise?

#2285429

Hi,

Thank you for contacting us and I'd be happy to assist.

To achieve this, you'll need two views:

1. The parent view will be a taxonomy view, that will show the "Communities countries" terms.

2. Inside the parent view's loop, you'll have a nested/child post view that will show the "Affiliated Organisations" posts, belonging to the current country in the taxonomy loop.

Here is a useful guide on this topic:
https://toolset.com/documentation/legacy-features/views-plugin/using-a-child-view-in-a-taxonomy-view-layout/

I hope this helps and please let me know if you need any further assistance around this.

regards,
Waqar