We're merging with GenerateBlocks! Learn more here.

Support Forum

Please login to receive premium support.

Support for the free plugin can be found here.

Home Forums Pro Support Custom Fields Reply To: Custom Fields

#13064
Cris
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>';
    }