title: Wordpress custom field date, display post with custom date > current in ascending order
body: <p>How do I order post by a custom field if "releasedate" > "currentdate" but in acending order. Basically only display post with dates starting after today but in ascending order. currently i have </p>
  
  <pre><code>&lt;?php 
  $temp = $wp_query;
  $wp_query= null;
  $wp_query = new WP_Query();
  $wp_query-&gt;query('showposts=10&amp;post_type=movies&amp;meta_key=releasedate_value&amp;orderby=releasedate_value&amp;order=ASC');
  if (have_posts()) : while (have_posts()) : the_post(); 
  $currentdate = date("Y-m-d",mktime(0,0,0,date("m"),date("d"),date("Y")));
  ?&gt;
  
  
  &lt;?php if ($releasedate &gt;  $currentdate) {?&gt;
  </code></pre>
  
  <p>"my contents/ post here"</p>
  
  <pre><code>&lt;?php } ?&gt;
  &lt;?php endwhile; ?&gt;
  &lt;?php endif; ?&gt;
  </code></pre>
  
  <p>now everything works except when its ASC and not DSC, no post will display because wordpress in getting the post first and the erasing the post that are not before current date and only 10 post are allowed, therefore if 10 post has a release date before today, wordpress loads then erase them after and leaves everything blank! Thank you for your help</p>