Home › Forums › Pro Support › Custom Fields › Reply To: Custom Fields
January 30, 2020 at 3:44 am
#13033
Participant
Thanks Tom, your code to add class works fine.
I hope you don’t laugh at me but I’m not a developer:) I did this and only the word “Array” returns to me.
$terms = get_terms( ( array('taxonomy' => 'post_tag', 'hide_empty' => false,)));
if ( isset( $terms ) && '' !== $terms ) {
echo '<div class="tax referencia">';
echo $terms;
echo '</div>';
}
Can you help me with taxonomies, please?