[Plugin: WP Page Numbers] Pageing not working with custom loop / post type
-
Hi,
I have problem with pageing on my site, when i try to go to page 2, i get error 404.
I have custom post type, and using custom query in category.php
Here is my loop:$paged = ( get_query_var('paged') ) ? get_query_var('paged') : 1; query_posts($query_string . '&post_type=shop-article&posts_per_page=9&paged='.$paged); if ( have_posts() ) : while ( have_posts() ) : the_post(); ?> <!-- Content --> <?php endwhile; if(function_exists('wp_page_numbers')) : wp_page_numbers(); endif; else : _e('<h1 class="error">No products</h1>'); endif;?>
Anyone can help?
Here is example: http://dev.chill.hr/?cat=3
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘[Plugin: WP Page Numbers] Pageing not working with custom loop / post type’ is closed to new replies.