Forums
(@robrat)
14 years, 10 months ago
Resolved, I needed to use the following:
<?php $wp_query = $tmp_query; query_posts($query_string . '&cat=-26'); if (have_posts()) : $odd = false; while (have_posts()) : the_post(); $odd = !$odd; ?>
It’s the $query_string that did the trick!