In WordPress possiamo facilmente reperire le tassonomie associate ad un post e mostrarle come una stringa separata da virgole.
Possiamo usare la funzione wp_list_pluck() facendola operare sull'array associativo restituito dalla funzione get_the_terms().
$post_id = 12;
$term_obj_list = get_the_terms( $post_id, 'taxonomy' );
$terms_string = implode( ', ', wp_list_pluck( $term_obj_list, 'slug' ) );