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