VVF Supporter Loop
// WP_Query arguments
$args = array (
'post_type' => array( 'vvf_supporter' ),
'post_status' => array( 'publish' ),
'category_name' => 'vvf_supporter_category',
'order' => 'ASC',
'orderby' => 'title',
);
// The Query
$vvf_supporters = new WP_Query( $args );
// The Loop
if ( $vvf_supporters->have_posts() ) {
while ( $vvf_supporters->have_posts() ) {
$vvf_supporters->the_post();
// do something
}
} else {
// no posts found
}
// Restore original Post Data
wp_reset_postdata();