if taxonomy term is code example Example: if taxonomy term is if( has_term( 'jazz', 'genre' ) ) { // do something }