Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

Query code

// WP_Query arguments
$args = array(
	'post_type'              => array( 'resource' ),
	'nopaging'               => false,
);

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