title: Wordpress meta query with multiple key value pairs and relations
body: <p>I have the following problem.
  On my WordPress page there are small sticky posts and one big sticky post, this is all fine. But there are also regular posts and I need to not display the posts that are marked as sticky or big sticky with a meta value.</p>
  
  <p>I need to query for value is not true or doesn't exist for <code>home_post</code> key and value is not true or doesn't exist for <code>big_home_post</code> key.</p>
  
  <p>The code I came up with is the following: </p>
  
  <pre><code>'meta_query' =&gt; array(
      'relation' =&gt; 'AND',
      array(
          'relation' =&gt; 'OR',
          array(
              'key' =&gt; 'big_home_post',
              'value' =&gt; true,
              'compare' =&gt; '!='
          ),
           array(
              'key' =&gt; 'big_home_post',
              'value' =&gt; true,
              'compare' =&gt; 'NOT EXISTS'
          ),
      ),
      array(
          'relation' =&gt; 'OR',
          array(
              'key' =&gt; 'home_post',
              'value' =&gt; true,
              'compare' =&gt; '!='
          ),
           array(
              'key' =&gt; 'home_post',
              'value' =&gt; true,
              'compare' =&gt; 'NOT EXISTS'
          ),
      ),
  ),
  </code></pre>
  
  <p>The code is not working.</p>
  
  <p>Maybe the multidimensional array is not built correctly or WordPress doesn't support this at all.</p>
  
  <p>All help is appreciated</p>