I have two custom taxonomies areas and provider e.g.
Areas:
- Berkshire
- London
- Sussex
Providers:
- Photographers
- Caterers
- Venues
There may not be any entries for each each provider for a particular category. For example there may not be any entries for photographers in Sussex
I am trying to create a view which shows the taxonomy name and image for all the different providers for each area where the provider is not empty. I don't want to show the actual post. I know how to show the taxonomy images
The end result will be a page called, for example "wedding providers in Sussex" with photos of all the different provider types, this links to a page where you can see the actual custom posts (I have set this view up).
Do you know how I can do this? I can show all the providers for an area but not hide them when they are empty.
Apologies in advance. if I take a while to get back to any response.
Hello. Thank you for contacting the Toolset support.
There is no way to relate taxonomy to another taxonomy. But what if you try to build a view that returns clean output and use that view in conditional shortcode.
Then, filter the above view by Views shortcode attribute "tax" .
Use above view with [wpv-confitional] statement.
[wpv-conditional if="( '[wpv-view name="provider-taxonomy-view" tax="current-area-taxonomy-term"]' ne '''' )"]
show taxonomy title
[/wpv-conditional]
I also would like to review your setup and problem URL where you are displaying taxonomy terms for taxonomy providers for taxonomy areas for taxonomy term "Sussex".