title: Wordpress combine queries
body: <p>I have two queries that I need to try to combine so that my pagination works correctly, and the posts show up in the correct order. </p>
  
  <p>I have this one query:</p>
  
  <pre><code>$today = date('m/d/Y', strtotime('today'));
  
  $args = array(
      'post_type' =&gt; 'workshops',
      "posts_per_page" =&gt; 5,
      "paged" =&gt; $paged,
      'meta_key' =&gt; 'select_dates_0_workshop_date',
      'orderby' =&gt; 'meta_value',
      'order' =&gt; 'ASC',
          'meta_query' =&gt; array(
              array(
                    'key' =&gt; 'select_dates_0_workshop_date',
                    'meta-value' =&gt; "meta_value",
                    'value' =&gt; $today,
                    'compare' =&gt; '&gt;=',
                    'type' =&gt; 'CHAR'
               )
      )
      );
  </code></pre>
  
  <p>The results of this query need to come after the query above:</p>
  
  <pre><code>$args = array(
      'post_type' =&gt; 'workshops',
      "posts_per_page" =&gt; 5,
      "paged" =&gt; $paged,
      'meta_key' =&gt; 'select_dates_0_workshop_date',
      'orderby' =&gt; 'meta_value',
      'order' =&gt; 'DESC',
          'meta_query' =&gt; array(
              array(
                   'key' =&gt; 'select_dates_0_workshop_date',
                   'meta-value' =&gt; "meta_value",
                   'value' =&gt; $today,
                   'compare' =&gt; '&lt;',
                   'type' =&gt; 'CHAR'
          )
      )
      );
  </code></pre>
  
  <p>The difference between the two queries is the: <code>'order'</code> and the <code>'compare'</code>.</p>
  
  <p>I have done this in pure MYSQL Queries, but I am not sure how to do this on WordPress</p>