List in which terms the current post is

I have a Custom post called Testimonials. I have a custom taxonomy called Target Group. In a single post, how can I show (in the footer of the post) a list of the terms the post has?

Hi Frans,
You’d need to use a taxonomy term loop with the attribute post=current to limit the listed terms to the ones related to the current post context.

Hi Julia,

Thanks! How can I make links of these terms, so I can filter / select on the specific term?

Hi Frans,

Try wrapping in an A tag, like this for example.

<Loop taxonomy=category post=current>
  <a href="{Field url}"><Field title /></a>
</Loop>

Let me know if that worked! :slight_smile:

1 Like

Thank you for your help Tim!