wordpress - category__not_in not working
<p>I'm having a problem getting my query function. I need to run the loop, excluding a particular category.</p>

<p>I'm trying to use <code>category__not_in</code>, but is not working at all some.</p>

<pre><code>&lt;?php
  $args = array(
    'post_type' =&gt; 'post',
    'post_status' =&gt; 'publish',
    'category__not_in' =&gt; array( '44' ),
    'posts_per_page' =&gt; 9,
    'paged' =&gt; get_query_var('paged')
  );
  $query = new WP_Query( $args );

  query_posts($query);
?&gt;
</code></pre>

<p>I've already tried:</p>

<pre><code>'category__not_in' =&gt; array( '44' ),
'category__not_in' =&gt; array( 44 ),
'category__not_in' =&gt; '44',
'category__not_in' =&gt; 44,
</code></pre>

<p>But nothing works     =(</p>