Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

:D Content

// WP_Query arguments
$args = array (
);

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

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

// Restore original Post Data
wp_reset_postdata();