treehouse : what would you like to learn today?
Web Design Web Development iOS Development

View older posts

  • Hey guys, I'm making myself a wordpress site, and i set to show 5 posts per page. When a user clicks the "view older posts" link, it shows the same posts as those on the front page.

    Actually, to be honest, I'm not even sure which page deals with this page.
  • You are probably running a custom loop with the query_posts(); function. This is known to wreck paging. Check out this link to fix it: http://stylizedweb.com/2008/08/13/query_posts-pagination-problem/

    Good luck!
  • Chris explains it really well in this thread, too: http://css-tricks.com/forums/viewtopic.php?f=10&t=5976