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