Support » Plugin: Events Manager - Calendar, Bookings, Tickets, and more! » Need to show future events in custom query ?

  • Resolved jothikannan

    (@jothikannan)


    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

    http://wordpress.org/plugins/events-manager/

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.