Logo Oxygen Builder How To

How to Get First Term Of Current Post In WordPress Query

If you want to display only one first term assigned to your post, add this code. It will add a link to the category with CSS class with category slug, so you can style it separately from other categories.

Did you like it? 
Take a second to support us on PayPal or Patreon!

Oxygen Builder How To Patreon
If you have any suggestions, please let us know
suggestions

You can share it on