WordPress.org

Ready to get started?Download WordPress

Forums

Page navi using query_posts (3 posts)

  1. rghedin
    Member
    Posted 8 years ago #

    Hello!

    I created a layout for a special category. There, I limited the number of posts in the page:

    <?php query_posts('cat=4&posts_per_page=12'); ?>

    The problem is I can't navigate to old posts... The code of I put is that:

    <p id="navega"><?php next_posts_link('Back') ?> . <?php previous_posts_link('Next') ?></p>

    But doesn't work... When I click in the link, the URL change to http://myurl.com/category/cat4/page/2/, but the posts as the same...

    What I'm doing wrong?

    Best regards!

  2. punkid
    Member
    Posted 8 years ago #

    I face the same pro,too.
    Is there anyone could give us a hand?

  3. rghedin
    Member
    Posted 8 years ago #

    Anybody?

    Look an example: http://www.winajuda.com/category/noticias/

    Best regards...

Topic Closed

This topic has been closed to new replies.

About this Topic