Skip Navigation

[Resolved] Views Filters mixing Custom Post Types and Taxonomies

This support ticket is created 11 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/Hong_Kong (GMT+08:00)

This topic contains 3 replies, has 2 voices.

Last updated by Tiago S 11 years ago.

Assisted by: Luo Yang.

Author
Posts
#27281

I've defined a CPT called 'institutions' wich can belong to a CPT called 'city' and a taxonomy called 'courses' with terms as 'math course' and 'grammar course'. I'd like to give visitors a select form with the option to choose a 'course' category (e.g. math, grammar or language course) in a certain 'city' (e.g. math courses in sydney). I read the tutorial on filters (https://toolset.com/learn/filter-content-with-parametric-search) and had no success in my applying that to my specific case. Before I continue to spend time trying to do that I'd like to know if that is even possible and any hint on how to do it.

I just like to submit a query like hidden link

and open that using my archive-institutions.php theme file.

Thanks!

#27544

Hi Tiago,

It is possible with Views, you need add a filter for taxonomy, Please read the document:
Passing Arguments to Views
https://toolset.com/documentation/user-guides/passing-arguments-to-views/
Please let me know if you need more assistance.

Regards
Luo

#27670

Please let me know if you need more assistance.

#30626

I"ll read the docs again, Thanks!

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.