// WP_Query arguments $args = array( 'post_type' => array( 'wpdmpro' ), 'post_status' => array( 'publish' ), 'tax_query' => array( array( 'taxonomy' => 'wpdmcategory', 'terms' => 'flexzone', 'field' => 'slug', 'operator' => 'IN', 'include_children' => true, ), array( 'taxonomy' => 'post_tag', 'terms' => 'aedocs', 'field' => 'slug', 'operator' => 'IN', 'include_children' => true, ), ), ); // The Query $queryDocs = new WP_Query( $args );