[resolved] Older Entries link not working... (3 posts)

  1. wavio1
    Posted 4 years ago #

    I new to WordPress and I'm slowly getting a feel for it. However, I've created a blog page and the "older entries" link is not working. When you click it, it loads the same page again and shows the same 5 posts. Obviously I have more that 5 posts in my blog.
    As you can see I've set the page to display 5 posts at a time...

    [code moderated - use the pastebin for any code over the forum limit of 10 lines]

    can anybody help???

  2. Michael
    Forum Moderator
    Posted 4 years ago #


    <?php query_posts('posts_per_page=5&paged='.get_query_var('page')) ?>


    if that does not work, try:

    <?php query_posts('posts_per_page=5&paged='.get_query_var('paged')) ?>
  3. wavio1
    Posted 4 years ago #

    And the second one wins!

    Thank you so much!

Topic Closed

This topic has been closed to new replies.

About this Topic