Cowichan Documents
The documents query
// WP_Query arguments $args = array( 'post_type' => array( 'document' ), 'nopaging' => false, 'paged' => '1', 'posts_per_page' => '20', 'order' => 'DESC', 'orderby' => 'id', 'tax_query' => array( 'relation' => 'OR', array( 'taxonomy' => 'top_category', 'terms' => array( 'news', 'media' ), 'field' => 'slug', ), ), ); // The Query $query = new WP_Query( $args );