I'm looking for a way to list all the tags associated with the current post as a bulleted list in the sidebar, ideally with a CSS class for custom styling. All the plugins and code snippets I've found either display all tags site-wide, or display it as a tag cloud. My hunch is that it would involve calling get_the_tag_list
outside of the loop somehow, but I'm a complete novice to WordPress development and am not sure how to get that working without guidance.
Any help would be greatly appreciated!
Thanks so much in advance,
Julian