Support » Themes and Templates » Query & Previous Next

  • Resolved Zoion



    I have a different page for each category. This is what I use on the main page: <?php $wp_query->set( 'category_name', 'worthless' ); ?>
    <?php query_posts( '' ); ?>
    and it works just fine. But when I try using it on any other page I get a 404 error when I use the previous/next links. Right now I’m using this on every page but the main page: <?php query_posts('category_name=thinking'); ?> and it isn’t working either.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Query & Previous Next’ is closed to new replies.