PHP Code: 
<?php

            $paged 
= (get_query_var('paged')) ? get_query_var('paged') : 1;
            
$args=array(
               
'cat'=>''.get_cat_id(get_custom_field('category_filter')),
               
'paged'=>$paged,
               );
            
query_posts($args);
            while (
have_posts()) : the_post(); ?>
I tried to install Pagenavi in a theme called sidewinder which natively doesnt support navigation. But somehow i manage to install it...but no matter what page i go to it still shows the first page and it has all to with the loop...please debug the php abouve so i can use pagenavi on it...thanks

eagerly waiting for the debugged code
Phresh Reviewed by Phresh on . HELP Post loop Conflicting with Page Navi <?php $paged = (get_query_var('paged')) ? get_query_var('paged') : 1; $args=array( 'cat'=>''.get_cat_id(get_custom_field('category_filter')), 'paged'=>$paged, ); query_posts($args); while (have_posts()) : the_post(); ?> Rating: 5