WP_Date_Query Generator May 31, 2018 Public Feliks Nakamoto Permalink Embed Code Or, embed this snippet using GenerateWP WordPress Plugin. Download Clone SimpleDateYearMonth $date_query = array( array( 'year' => 2018, 'month' => 5, 'compare' => '=', ), );