My 'Next' Button Won't Work

by Wes888
5 replies
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.
#button #work
  • Profile picture of the author goehner
    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
    Signature
    the result of patience is...patience
    {{ DiscussionBoard.errors[3679087].message }}
    • Profile picture of the author Wes888
      Wow, after one whole day of trying to sort it out, I finally made it to work!

      Thanks for the input!
      {{ DiscussionBoard.errors[3681897].message }}
  • Profile picture of the author goehner
    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
    Signature
    the result of patience is...patience
    {{ DiscussionBoard.errors[3682012].message }}
    • Profile picture of the author Wes888
      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);
      {{ DiscussionBoard.errors[3686800].message }}
  • Profile picture of the author goehner
    Hi wes888,
    thanks for the info - much appreciated.

    Greetings,
    Gecki
    Signature
    the result of patience is...patience
    {{ DiscussionBoard.errors[3686907].message }}

Trending Topics