I have a custom loop from a custom post type and I want to NOT display posts with the category 'slider'.
I'm using this to set up the query:
$args = array( 'post_type' => 'hotwives', 'posts_per_page' => -1); $loop = new WP_Query( $args ); while ($loop->have_posts() ) : $loop->the_post();
I was going to use this in the $args variable:
'category' => 'slider'
But not sure how to make that NOT display the posts from category 'slider'.
And, incidentally, when I use that in the $args variable it still shows every post, not just the 'slider' posts. So, seems I'm not on the right track regardless.