WordPress.org

Support

Support » Plugins and Hacks » [Plugin: WP-PageNavi] 404 Error when trying to page using custom post type & taxonomy

[Plugin: WP-PageNavi] 404 Error when trying to page using custom post type & taxonomy

  • I am getting a 404 error when I go to page two. My query uses a custom post type and custom taxonomy to return a list of posts.

    This code returns the data I want, only I can’t navigate to page 2

    <?php query_posts($query_string . '&page=$paged&orderby=date&order=ASC&post_status=future,publish'); ?>
    <?php  if (have_posts()) : ?>
    <?php while (have_posts()) : the_post(); ?>

    Any ideas how I can paging to work?

    http://wordpress.org/extend/plugins/wp-pagenavi/

Viewing 1 replies (of 1 total)
  • This is not helping either:

    <?php $paged = (get_query_var('paged')) ? get_query_var('paged') : 1; query_posts($query_string . '&orderby=date&order=ASC&post_status=future,publish&paged=$paged'); ?>
    	    <?php if (have_posts()) : ?>
    			<?php while (have_posts()) : the_post(); ?>

    @scribu – you are an expert on paging – any ideas?

    – Tyler

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: WP-PageNavi] 404 Error when trying to page using custom post type & taxonomy’ is closed to new replies.