Change category to tag

On my WP site, I have mega menu showing an image from each post and a small box with the category name in the corner of the image. I’ve found the code in the php →

What I’d like to do is have the tag of the post in that small box instead of the category. How do I do that?

Welcome to our site. Please note this is a CODE site. If you post an image, we can not copy the code into our editors to help you out. To show us code, paste it here between either the preformatted or quote tags right to the left of the image tag.

Now, you are displaying two functions. We have no idea what they do. Can you give us an idea of what those functions do or actually what they return? Thank you. And, again, welcome to the site!

Sponsor our Newsletter | Privacy Policy | Terms of Service