Support » Fixing WordPress » Pagination Not Working on Custom wp_query

  • Resolved Mike Oberdick


    I’ve been googling around like crazy and know that I’m missing something small here. I’ve created a page template for Genesis in order to show the default page content on the homepage and below that the ten most recent posts. The pagination works getting to the second page but then it shows the next page button again rather than previous page. Here is the code on pastebin. Here is a link to the development site where you can see the problem on the homepage.

Viewing 1 replies (of 1 total)
  • Solved it…unfortunately this is one of those situations where I switched out a couple of lines of code so I don’t exactly know what this is working. Man…pagination on pages that aren’t technically supposed to have pagination (such as static pages like the homepage) is really tough. Here is the working pastebin code if you run into a similar issue.

Viewing 1 replies (of 1 total)
  • The topic ‘Pagination Not Working on Custom wp_query’ is closed to new replies.