First of all, sorry for my english. Isn´t my native language.
I´m in the need to check if a displaying taxonomy has a defined custom post type associated. I´m using
is_taxonomy('tax'), but in the project I´m working on have a lot of custom taxonomies associated to different post types, and creating the conditionals for all the taxonomies in the different templates is a hell.
I searched the codex for something, but found nothing. The idea is to built a function in the form of
is_tax_has_type('post type')or something alike. I´m not telling you to make me the function, beacuse that´s not funny and I´m no gonna learn anything that way. Only need a clue or clues to start making myself the function, that´s all.
Thanks in advance for your time and help.
- The topic ‘How to check if a displaying taxonomy have a defined custom post type’ is closed to new replies.