Problem:
The user would like to filter a view using a taxonomy assigned to the parent post in a Toolset relationship.
Solution:
Actually, this is not possible. Toolset does not offer a way to filter a custom post type by the custom fields or taxonomies from a related post type. You can only filter with:
- The post's default(title, content, date, etc.) and custom fields.
- The post's taxonomies.
- ONE related post type in a Toolset relationship.
As a workaround, I'll suggest syncing the taxonomy from the parent post to the child posts. You can add a custom code, hooked to the save_post action, use the relationship API inside of it to synchronize the taxonomy assignment to the child posts.
Relevant Documentation:
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: Africa/Casablanca (GMT+01:00)
This topic contains 2 replies, has 2 voices.
Last updated by 3 years, 6 months ago.
Assisted by: Jamal.