display custom taxonomies limited to custom post type?
-
hey guys!
i have a stupid situation, where i somehow can’t find a solution and would really need some help!
So… i’m working on a project, where i have in addition to Post and Pages two Custom post types: Photos and Events.
I have created a custom taxonomy named “Tags”. This taxonomy is applied to Post, Pages, Photos and Events… so basically you can give everything a Tag and you can chose everywhere from tags, that are being used elsewhere (example: if you give some tags in the Events, then you can later chose the same Tags in Photos).
The Idear is to show everywhere related stuff. So if you are on a Event, you will see in the sidebar related news, photos, even page entries…and so on…
NOW i want to display in the Photo – section only the tags, that were already used in the Custom post type Photos. Not all of them (there are some tags in Events, that have never been used in photos). So one could chose to see only photos base on a Tag…
I don’t have any code yet… although i’m not a newbi in wordpress, a this point i don’t even know where to start.
how can one display a list of tags, that are a custom taxonomy, limited by a custom post type?!
Any suggestion would be really nice!
- The topic ‘display custom taxonomies limited to custom post type?’ is closed to new replies.