I am trying to build a WP_Query and I want to fetch only the posts where the taxonomy (custom post type category with the name "give_forms_category") is "18". I have a working query for the regular post type but I'm trying to adapt it for my custom post type:
$the_query = new WP_Query( array (
'posts_per_page' => $atts['posts'],
'post_type' => array( 'give_forms' ), array( 'cat' => 18 ) )
Can someone give me a hint?