Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

Podcast Query

// WP_Query arguments
$args = array (
	'post_type'              => array( 'podcast' ),
	'nopaging'               => true,
	'orderby'                => 'menu_order',
);

// The Query
$podcasts = new WP_Query( $args );

// The Loop
if ( $podcasts->have_posts() ) {
	while ( $podcasts->have_posts() ) {
		$podcasts->the_post();
		// do something
	}
} else {
	// no posts found
}

// Restore original Post Data
wp_reset_postdata();