Hi, I am having trouble getting my head around the following and even a worse time trying to explain it.
I have a taxonomy called ‘Exhibit’ and I have a custom post type called Exhibits.
I have a taxonomy called ‘Article Type’ and I have custom post types called Case Study, Feature, News, Opinion and Research.
I have a taxonomy called ‘industry’.
Custom post types can be part of multiple ‘industries’.
I am trying to setup a view for an Exhibit page that creates a view similar to this;
Total Case Studies: (#)
Covering the following Industries:
Industry A (#), Industry B (#),Industry C (#), Industry D (#), etc
I have the following filter;
Select posts with taxonomy: Exhibits the same as the current page AND Article Type is One of these (Case Study, Feature, News, Opinion, Research)
This is my code;
[wpv-layout-start] [wpv-posts-found] Total Case Studies: [wpv-found-count]<br> Covering the following Industries: <wpv-loop> [wpv-post-taxonomy type="industry" format="link" separator=", " show="name"] ([wpv-post-taxonomy type="industry" separator=", " show="count"]) </wpv-loop> <!-- wpv-loop-end --> [/wpv-posts-found] [wpv-no-posts-found][wpml-string context="wpv-views"]<strong>No posts found</strong>[/wpml-string][/wpv-no-posts-found] [wpv-layout-end]
The attached image is what is being returned.
The numbers are in an odd place and they are not correct in value.
I believe the numbers are counting the total references to that particular taxonomy and not just those associated to the exhibit (that’s what I would like)
I would like the ‘count’ to just return the total number of each individual industries for this particular Exhibit.
Also the links returned in the view are links to the total industries and not just filtered down to the exhibit (I would like for that to happen).
Is this possible?