Wordpress term_exist not echo'ing anything?
问题 I'm struggling to get this to work. Basically, I'm running a WP query to retrieve multiple posts from my custom post-type. In the loop, I want to conditionally echo stuff, depending on what term is assigned to that post. I've created a taxonomy called 'file-types' and have assigned this to my custom post type. As I understand terms, terms are like the children of taxonomy. "Not literally" My problem, my PHP below just seems to echo the last condition, which is nothing. And I've 100% assigned