Restoration Arundel
// WP_Query arguments
$args = array(
'post_type' => array( 'restoration_projects' ),
'tax_query' => array(
'relation' => 'AND',
array(
'taxonomy' => 'type',
'terms' => 'streams-wetlands',
'field' => 'slug',
),
),
);
// The Query
$restorations = new WP_Query( $args );
// The Loop
if ( $restorations->have_posts() ) {
while ( $restorations->have_posts() ) {
$restorations->the_post();
// do something
}
} else {
// no posts found
}
// Restore original Post Data
wp_reset_postdata();