Home › Forums › Pro Support › Custom Fields › Reply To: Custom Fields
January 31, 2020 at 12:40 am
#13064
Participant
Thanks Tom!
I tried it and it shows all the data in the taxonomy, instead of showing the specific data that corresponds to each entry.
$terms = get_terms( ( array('taxonomy' => 'dormitorio', 'hide_empty' => false,)));
if ( isset( $terms ) && '' !== $terms ) {
foreach( $terms as $term ) {
echo '<div class="tax dormitorio">';
echo $term->name;
echo '</div>';
}