Need to show future events in custom query ?
-
Hi,
is this possible to get the future events only by the wp_query??
i can get the events by wp_query as follows
$args = array('post_type' => 'event','event-categories' => 'restuarant','posts_per_page' => 10 ,'orderby'=>'rand'); $my_query = new WP_Query($args);
how can i get the future events by this code??kindly advise me
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Need to show future events in custom query ?’ is closed to new replies.