List all custom post type posts from a given category?
What about doing a tax_query? $args = array( ‘post_type’ => ‘myposttype’, ‘tax_query’=> array( ‘taxonomy’ => ‘myposttype_categories’, ‘terms’ => array(‘foo’), ‘field’ => ‘slug’, ) ); $loop = new WP_Query( $args ); var_dump($loop); Facepalm question, you are sure that these taxonomies/post types exist and that there are posts filed under them? Update The query seems to work … Read more