Create a conditional tag for custom taxonomies

Posted by Prem Tiwari | Updated on

In this example, ‘student’ was a custom post type, and ‘stud_cat’ was the custom taxonomy. Use has_student(null) for the conditional


If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.

Related Questions & Answers