WordPress: display taxonomy without link

par
<?php $terms_as_text = get_the_terms(
  $wp_query->post->ID, 'mytaxonomy') ;
  foreach ($terms_as_text as $i => $term){
     echo $term->name."<br>";                
  }
?>

Dans le même genre

Laisser un commentaire