nickberens360
12/8/2014 - 8:52 PM

Order wp_query by acf date picker

Order wp_query by acf date picker

<?php
$args = array(
	'post_type' => 'event',
	'orderby' => 'event_date menu_order', 
	'order' => ASC, 
	'posts_per_page' => -1, 
	'meta_key' => 'event_date'
);
$query = new WP_Query( $args );
?>