Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

SAC Obs

// WP_Query arguments
$args = array(
	'post_type'              => array( 'public_obs' ),
	'nopaging'               => true,
	'posts_per_page'         => '-1',
	'order'                  => 'DESC',
	'orderby'                => 'date',
	'date_query'             => array(
		array(
			'year'          => 2018,
			'month'         => 9,
			'day'           => 1,
			'compare'       => '>=',
		),
	),
);

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