Display Current Post Taxonomies and Terms in WordPress

In this tutorial, i am gong to show you how to display current post taxonomies and terms in a list. Please open your function.php file and paste the below code:

Now we will use the function to display this. Where you want to display the call the below function:

<?php echo custom_taxonomies_terms_links();?>

Demo output

The output might look like this if the current post has the taxonomies country and city:

 

This post has already been read 3546 times!

Mehedi Hasan

Cool WordPress Developer having much agile experience to develop any kind of WordPress sites & plugins. Also good in troubleshooting, fixing & making any kind of tweaks for WP site.

More Posts

Mehedi Hasan

Cool WordPress Developer having much agile experience to develop any kind of WordPress sites & plugins. Also good in troubleshooting, fixing & making any kind of tweaks for WP site.

3 thoughts on “Display Current Post Taxonomies and Terms in WordPress

  • December 3, 2014 at 5:29 pm
    Permalink

    That’s awesome Mehedi !! I was searching few hours to get this example of code. Thanks

    Reply
  • July 1, 2016 at 10:06 pm
    Permalink

    Perfect, a good way to channel steel. I was looking for something, in the codex and other tutorials wordpress always asked the ‘taxomonies’ but I needed to know the taxonomies within a post. By this I give good results

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *