wp_tag_cloud() and the_taxonomies() work in a widget I built but I can not get the_tags() to work.
I want to display the tags assigned to the current post. I built a widget to do this. the widget works fine but as I mentioned, wp_tag_cloud() and the_taxonomies() will display.
I have tried every possible code snippet I could find.
Whats happening and do I display the posts tags?
the_tags()
only work within the loop;possibly try to use
wp_get_post_tags()
where you can pass the post IDI could not see the forest between the trees.
I was dealing with a custom taxonomy and solved the problem with get_the_terms().