Check if post has a specific term

Hi,

I finally found the following snippets which work.
Apparently, one must loop through the taxonomy terms AND restrict the loop to the current post.

Check if the current post has a specific term in a given taxonomy

<If loop taxonomy=phase terms=phase-1 post=current>

Check if the current post has any term in a given taxonomy

<If loop taxonomy=phase post=current>
1 Like