Learn, WordPress

WordPress: find posts with ANY term in a given taxonomy

I was recently Googling around for an answer to this, and didn’t see that anyone posted this method, but here’s the gist. If you want to find out if a given post has a certain taxonomy, (not just a specific term, but ANY term in that taxonomy), you can use the function has_term (more in […]