• Resolved ratnalaurentina

    (@ratnalaurentina)


    I’m having a problem with wordpress page navigation. It seems to get stuck on the first page of these posts although in the address of the browser.. it could be seen as https://…../page/2 or so. I’m not sure how to get around the problem, I think it has a connection with the loop, but yet again, I don’t know how to fix it. Anybody please help? The code is in here https://pastebin.com/M0rg4C2d

Viewing 4 replies - 1 through 4 (of 4 total)
  • your code is missing the paged parameter in the query:

    instead:
    query_posts('cat=-1,-4,-32,-48,-49');

    try:
    query_posts('cat=-1,-4,-32,-48,-49&paged='.get_query_var('paged'));

    (untested)

    Thread Starter ratnalaurentina

    (@ratnalaurentina)

    @alchymyth Thank you so much for your kindness at helping me!!!!! Your code is working and it works like charm! I hereby declared this topic is resolved. ??

    Thanks!

    I also have this same problem. Our site has been working great and now it seems to stick on the landing page. The URL changes but won’t go anywhere. I can’t seem to apply the fix you provided for ratnalaurentina to my situation.

    See: https://makecollab.com

    Here’s the code of the Page Template
    https://pastebin.com/yUeDwJ8Y

    Thanks for any help.

    I have found the problem. It was the plugin, Plimus creating a bunch of pages on it’s own and corrupting things. Thanks anyway.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Help! Page navigation for wordpress stuck on the first page’ is closed to new replies.