Black Friday sale! Get 25% off WPSP Pro! Discount automatically applied at checkout.

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


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?