Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

2022

$date_query = array(
	array(
		'year'          => 2022,
	),
);