WordPress.org

Support

Support » How-To and Troubleshooting » older/newer — always defaults to newer

older/newer — always defaults to newer

  • 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!

Viewing 2 replies - 1 through 2 (of 2 total)
  • 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.

    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

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘older/newer — always defaults to newer’ is closed to new replies.
Skip to toolbar