check multiple taxonomies in WHERE statement of SELECT Query
-
I’m trying to modify some code for finding related posts, efficient related posts to be exact, and I’m getting stuck on the WHERE statement. I changed WHERE t_t.taxonomy = ‘post_tag’, to WHERE t_t.taxonomy = ‘art’, which is one of my custom taxonomies, but, I need to check through all of my custom taxonomies in the WHERE statement, not just one, for all of the terms that are assigned to the current post. Can anyone help me to better understand how to go about forming the syntax on this?
Thanks in advance~
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘check multiple taxonomies in WHERE statement of SELECT Query’ is closed to new replies.