Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

P&P Food Menu Query

// WP_Query arguments
$args = array (
	'post_type'              => array( 'food-menu' ),
	'post_status'            => array( 'publish' ),
	'has_password'           => false,
	'nopaging'               => true,
	'orderby'                => 'menu_order',
);

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

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

// Restore original Post Data
wp_reset_postdata();