I have a custom field 'event-date' and I would like to only upcoming events which has event-date>today. I tried a lot but not able to make the query, can you please help?
This is my current query -
query_posts(array( 'post_type' => 'events','type' => 'party' ));
if ( have_posts() ) : while ( have_posts() ) : the_post();
The query_posts is not accepting custom fields. I tried WP_Query but it's not working either.