WordPress.org

Ready to get started?Download WordPress

Forums

older/newer -- always defaults to newer (3 posts)

  1. DBL-WP
    Member
    Posted 3 years ago #

    I am new to WP and greatly appreciate any assistance. My blog page -- which is not the main page of my site -- has just gotten over 5 posts. As five was my limit, I now get an "older posts" link, however it does not work. It simply selects the same 5 newer posts. I have posted the loop, which is heavily based on twenty_ten, at http://wordpress.pastebin.com/KzBCptTL

    Thank you again!

  2. vtxyzzy
    Member
    Posted 3 years ago #

    As far as I can tell, there is no query in that code. The problem is that the 'paged' parameter is not being correctly/at all used in the query that happens before this code is called.

    Show the code that has the query for more specific help.

  3. DBL-WP
    Member
    Posted 3 years ago #

    vtxyzzy,

    Thank you for the hint. I did some digging and found that the code you were referring to was indeed missing, although it was missing from index.php rather than loop.php.

    I also found this blog entry to be very useful:

    Pagination on wordpress static page set to front page

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags