WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Query & Previous Next (2 posts)

  1. Zoion
    Member
    Posted 8 years ago #

    Here: http://zoion.surprise-ending.com

    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.

  2. Zoion
    Member
    Posted 8 years ago #

    I think I found a solution on my own.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags