Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

Date query – Last year, not in sundays

Filter items from the last year, not published in Sunday’s:

$date_query = array(
	'relation' => 'AND',
	array(
		'after'         => '1 year ago',
	),
	array(
		'dayofweek'     => 1,
		'compare'       => '!=',
	),
);