get_terms in a taxonomy template

I’ve two custom taxonomies, and two template archives:
taxonomy-brand.php and taxonomy-producer.php

If I insert $terms = get_terms(‘brand’); in the taxonomy-producer.php
I can’t get no terms for the brand taxonomy.
If I write something like echo $terms->slug;, it doesn’t show nothing.

Read more here:: get_terms in a taxonomy template

Leave a Reply

Your email address will not be published. Required fields are marked *