Seems like it should be simple (the Stack Overflow catchphrase)
A taxonomy archive taxonomy-my-taxonomy.php
, I'm using $terms = get_the_terms($post->ID, 'my-taxonomy');
to get the properties of the archive term.
Trouble is this is the post term(s) not the archive term.
It assumes that $post->ID
exists, ie this taxonomy has posts. I would like to display the page with the various term properties even if it's empty.
How?