can do superdupereasy with:
<?php echo get_queried_object()->name;
name if a taxonomy term will be used on any page of a custom taxonomy. on something like example.com/books/Fiction , it will be an echo of fiction .
Instead of name you can also use taxonomy , which will be an echo of books .
And in short they say that taxonomies are NOT categories or pages or comments, this is what you say, for example, βproductsβ or βbooksβ. Using this, you unlock the functionality of Post Post Type WordPress. You can create your own archive-products.php , page-products.php , single-products.php and enjoy it. :)
murph
source share