[Plugin: WP-PageNavi] WP-pagenavi noy working with custom permalinks
-
Hi, as the title says, The plugin doesn’t work when I modify the permalinks.
First it showed me a 404 error page, then I search in other blogs and installed this other plugin “Category pagination fix”, but now it sends me to the home page.
What should I do? i’ve tried many options.
This is my code.
<?php $paged = (get_query_var('paged')) ? get_query_var('paged') : 1; $args = array( 'post_type' => 'fotos', 'post_status'=> 'publish', 'showposts' => '8', 'paged' => get_query_var('paged') ); $wp_query = new WP_Query( $args ); while ($wp_query->have_posts()) : $wp_query->the_post(); ?> <stuff></stuff> <?php endwhile; ?> <?php wp_pagenavi(); ?>
I really hope anyone could help me, Please!
Thanks!
- The topic ‘[Plugin: WP-PageNavi] WP-pagenavi noy working with custom permalinks’ is closed to new replies.