Rufusmedia
11/11/2016 - 7:24 PM

custom-post-type-loop.php

<?php 
	$args = array(
			'post_type' => 'POST-TYPE'
	
		);
	$CPT_query = new WP_Query($args); 
?>
<?php if($CPT_query->have_posts()): ?>
	<?php while ($CPT_query->have_posts()) : $CPT_query->the_post(); ?>
		
		<!--   LOOP CONTENTS HERE   -->
		
	<?php endwhile; ?>
<?php endif; ?>
<?php wp_reset_postdata(); ?>