Hey everyone I have the wp loop to display posts, but I need to exclude category 81. I tried: query_posts('cat=-81'); ?> before the loop but the pagenavi is broken and it doesn't work properly.
<?php if(have_posts()): ?> <ol class="list posts"> <?php $end = array(3,6,9,12,15,18,21,24,27,30,33,36,39,42,45); $i = 0; while (have_posts()) : the_post(); $i++; global $post; ?>
I have this in the begining of the page - maybe it has something to do with it?:
<?php get_header(); global $wp_query; $curauth = $wp_query->get_queried_object(); ?>