My 'Next' Button Won't Work

by 5 replies
6
I'm currently using the Hybrid Theme and Malleable child theme.

I need help on my blog. The Next Page button at the end of my front page won't work. When you click on it, instead of being lead to page 2, the first page is loaded all over again. My website is pcbuyersmag.com Anyone know how to fix this? Thanks.
#programming #button #work
  • Hi wes888,
    I just checked online and many WP users seem to have this problem.
    Try the following and see if it helps:

    1. Try the solution posted here:
    Solution: Wordpress Pagination Stays On Same Page – Blogging Squared
    (Warning: It involves editing the WP source files - please make backups of your
    WP files before doing so).

    2. If step 1 doesn't work experiment with the settings in your WP-Admin menu
    by setting the number of displayed posts and see if that makes a difference.

    Hope this helps.

    Greetings,
    Gecki
    • [1] reply
    • Wow, after one whole day of trying to sort it out, I finally made it to work!

      Thanks for the input!
  • Hi wes888,
    thanks for the feedback - glad you could figure it out.

    How did you solve it?
    Just in case someone else has a similar issue.

    Greetings,
    Gecki
    • [1] reply
    • Hi Gecki,

      Thanks for the help!

      I did some research from your link and the problem is with query_posts(). I added this line:

      $paged = (get_query_var('paged')) ? get_query_var('paged') : 1;

      You will also need to change the call to your function. Just a sample but you will need to change it accordingly:

      query_posts('category_name=notes_blog&showposts=3& paged=' . $paged);
  • Hi wes888,
    thanks for the info - much appreciated.

    Greetings,
    Gecki

Next Topics on Trending Feed

  • 6

    I'm currently using the Hybrid Theme and Malleable child theme. I need help on my blog. The Next Page button at the end of my front page won't work. When you click on it, instead of being lead to page 2, the first page is loaded all over again. My website is pcbuyersmag.com Anyone know how to fix this? Thanks.