Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

search job

// WP_Query arguments
$args = array(
	'post_type'              => array( 'job' ),
	'post_status'            => array( 'publish' ),
	'meta_query'             => array(
		array(
			'key'     => 'job_valid',
			'value'   => '2023-05-05',
			'compare' => '>=',
			'type'    => 'DATE',
		),
	),
);

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