WP_Date_Query Generator July 12, 2017 Public P K Permalink Embed Code Or, embed this snippet using GenerateWP WordPress Plugin. Download Clone date in $date_query = array( array( 'year' => 2017, 'month' => 8, 'compare' => 'IN', ), );