post-top-meta category name and link

I am in the need of adding the category name/link to the post-top-meta area, I noticed it is not a straight forward the_category(); process, could you please point me to the right direction on how to achieve this ? I have a child theme and have added the post-top-meta file there to be customized. Please advise

Hi Carlos,

Would it be possible for you to provide more information, please? As I am not quite sure what you’re trying to achieve.

Thanks,
Danny

This is exactly what I am trying t o achieve (I photoshopped the category name in)

http://wordpress-12919-28314-97143.cloudwaysapps.com

http://wordpress-12919-28314-97143.cloudwaysapps.com/news/

Hey Carlos,

You should be able to just add the the_category() function inside the post-top-meta.php file and it should display the categories the Post is in. Is this not the case for you? Can you share temp admin access to your site so we can check? Perhaps send along FTP access as well just in case. :slight_smile:

Ben

[Content Hidden]

Thank you Ben!

Hi Carlos,

Thanks for informing us the issue has been resolved.

Thanks,
Danny

Danny, this hasnt been solved yet and its not really an issue, more like a customization. I really need to get the category to show in the post-top-meta.php

Appreciate your help!

Hey Carlos,

I don’t see anything wrong with how you setup your child theme but it seems whatever changes we make to the post-top-meta file doesn’t get reflected. Do you have a caching plugin installed? Do you think you can share temp admin access to your site as well?

Ben

Ben, yes, there was a cache setting on, I was abe to add the category just using the_category() … works exactly like I wanted it to work! Thank you very very much! You guys rock!

Here’s a screenshot and link of how it looks now.

http://wordpress-12919-28314-97143.cloudwaysapps.com/news/

Again, thank you!

No worries at all, Carlos! And thanks for taking the time to inform us. Enjoy! :slight_smile:

Ben