404 Error when trying to page using custom post type & taxonomy (2 posts)

  1. greenapplewebs
    Posted 4 years ago #

    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?


  2. greenapplewebs
    Posted 4 years ago #

    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

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic