Skip Navigation

[Resolved] Returning Search Results from Two Taxonomy Sets

This support ticket is created 3 years, 9 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 – 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/Hong_Kong (GMT+08:00)

This topic contains 1 reply, has 2 voices.

Last updated by Luo Yang 3 years, 9 months ago.

Assisted by: Luo Yang.

Author
Posts
#2012859

Tell us what you are trying to do?
We have a post type called "Games", which has a parent-child relationship set up with another post type called "Reviews". Games pulls a taxonomy called "Platforms" as part of its data, which Reviews references in certain Views.

What we want to do is for there to be a search page where a user can search for Reviews using the taxonomy of Platforms. We're not exactly sure how to tell it to do that.

What is the link to your site?
hidden link

#2013143

Hello,

Toolset Views/Blocks plugins are using WordPress built-in class WP_Query to query posts, so you can filter the result by custom taxonomies/fields of current post type "Reviews", you can not filter the result by taxonomies/fields of other post types "Games".

You might consider to setup a post view:
- Query "Games" posts
- Filter by taxonomy "Platforms"
- In view's loop, display a child "Reviews" post view