I am developing a theme that has several custom taxonomy that act as radio buttons.
How do I write a conditional that does…
if(post_has_any_terms($post->id, 'custom-taxonomy')) { echo $term; }.
I feel like this should be so simple, but nothing that I have tried works.
Thanks!
I ended up solving this. It might not be the smartest way but it works for me.
The page doesn’t work if $term = 0, but at least it lets the author know they forgot to check one of the boxes ( since it’s required ).