Check for a specific taxonomy of a custom post type July 17, 2022 by Tarik Billa Use is_tax(): if ( is_tax( 'book_categories' ) ) { } if ( is_tax( 'book_year' ) ) { }