[Plugin: WP-PageNavi] Unable to display the correct content
I’ve been wrestling with this for a few days now to no avail, so would really appreciate any help.
I’m using the Woocommerce theme which I’ve heavily modified and can’t seem to get pagination working correctly.
I’ve got the following code as a tailored template that I’m using for a page. The correct number of pages are displayed in the links, but when clicked the content doesn’t change nor does the CSS styling on the links change, but the URL does.
$paged = (get_query_var('page')) ? get_query_var('page') : 1; query_posts( array( 'cat' => -34, 'posts_per_page' =>5, 'paged' => get_query_var('paged') ) ); while ( have_posts() ) : the_post(); - Doing stuff - endwhile; ?> <div class="navigation"> <?php wp_pagenavi(); ?> </div>
Would be incredibly grateful of any help.
Oh also – WP 3.3.1
- The topic ‘[Plugin: WP-PageNavi] Unable to display the correct content’ is closed to new replies.