Essentially what I am hoping to replicate is something like the "current-menu-item" class that is applied to WP Menus.
My client is wanting to use Tags as a sub-nav, and I've managed to get the tags for the category output as an unordered list, but now if someone selects the tag "Tag One", I'd like to have that particular tag to highlight as the currently selected Tag.
It would be extra super cool if this could also work with the output generated by "the_tags" attached to the post as well.
I hope this makes sense, and thanks!
Cheers, John
if(is_tag('this-tag') echo 'current';
with each element.the_tags()
only returns the tags this post is attached to, so every tag there is a current tag, no?