Exclude categories from index loop <?php $posts=query_posts($query_string . '&cat=-6'); if (have_posts()) : while (have_posts()) : the_post(); ?>