Skip Navigation

[Resolved] If post in category

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

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

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)

Tagged: 

This topic contains 2 replies, has 2 voices.

Last updated by Adrian 4 years, 4 months ago.

Assisted by: Jamal.

Author
Posts
#1676985

Hi,

I have 1 post with two taxonomies:
-Manufacturers
- Disciplines

I would like to display a list of manufacturers who have at least one product within a given discipline. Is that possible using a standard toolset function, or would I have to custom code this?

Thank you,
Adrian

#1677815

Hello Adrian and thank you for contacting the Toolset support.

This cannot be done with Toolset without a bit of custom code. Because, Toolset views, are bound to posts or taxonomies. It is not possible to create a relationship between taxonomies.
You may create a custom function that queries posts by discipline and pull all the manufacturers from the posts. Then you can use its value inside the Toolset view to display manufacturers with a query filter on "Taxonomy term filter" as one of the values returned by the function.

I hope this answers your question. Let me know if you have any other questions.

#1681037

My issue is resolved now. Thank you!