Monthly Archives: July 2012

Excluding a custom taxonomy from WP_Query

While working on a project where I need to exclude a custom taxonomy from my output, I found myself scratching my head. I assumed since I exclude normal WordPress categories by using something like this: $query = new WP_Query( array( ‘post_type’ => ‘post’, ‘post_status’ => ‘publish’, ‘category’ => -34 ); that I would do something […]