• Resolved necro1970

    (@necro1970)


    I have a main page showing game reviews including the default Nivo slider. My website has at least 325 review articles and 39 regular posts.

    On the main page at the bottom left, I click “Older Posts”.

    It goes back to “www.domain.com/?paged=1”

    I can repeat this until paged=5, beyond that I get a 404.

    What could have gone wrong?

Viewing 15 replies - 1 through 15 (of 25 total)
  • Thread Starter necro1970

    (@necro1970)

    Oh yes, I set up the site to show 8 articles per page.

    8 x 5 = maximum of 40 posts can be shown as I keep click “Older Posts”.

    To go beyond that, I have to use other means like the Search Bar.

    Is there a hard coded limitation that I should be aware of?

    I am now checking the PHP source but would appreciate some help from the author or other readers of the forum.

    Thank you.

    Theme GamePress has an option in theme options to include Game Reviews in the listing on the home page. By default it’s disabled. Did you enable it?
    And what exactly do you mean by ‘review articles’? Did you create them as Game Rewviews in GamePress or with other theme or plugin?

    Thread Starter necro1970

    (@necro1970)

    Yes, it has been enabled to include “Game Reviews”. Hence I am supposed to be able to see the full list of 350+ articles.

    I imported all my blog posts from Blogger and they winded up as Posts after importing. I wasn’t sure how to change “Posts” to “Game Reviews” at first. In the end, I resorted to exporting all my Posts into an XML file and I did a “find and replace” to change all the post types to gamepress_reviews for all my game reviews. I then re-imported the XML file back into wordpress.

    So, now I have 300+ Game Reviews and 39 Posts.

    Plug in used was the standard Blogger and WordPress Importers.

    Did you try to create new Game Review from scratch in WordPress? Is it displayed on the home page?

    ps. please post a link to your website.

    Thread Starter necro1970

    (@necro1970)

    Over here.

    I created a new Game Review from scratch and it appeared on the home page.

    When I set the number of articles to read to 500 (instead of 8) – under “Settings->Reading->Blog pages show at most”, I can see all of 350+ of my articles listed out. No problem.

    Next, I set the number of articles to 250. I immediately get a 404 on clicking the “Older posts” link.

    Next, I set the number of articles to 60. I get a 404 on clicking the “Older posts” link.

    Next, I set the number of articles to 30. I click on “Older posts” and it works. I click on “Older posts” a second time and it gives me a 404.

    Finally, I set the number of articles back to 8. I click on “Older posts” and it works. I change the link to “/?paged=6” and it gives a 404. No problem with “?paged=5”.

    Oh yes, you will see that there’s no problem with search working with “/?paged=6”. Set search term to “the” and see what I mean.

    Thread Starter necro1970

    (@necro1970)

    Strange findings…

    I put the setting for “Settings->Reading->Blog pages show at most” to 1.

    I then kept trying until I reached “/?paged=37″… which was still ok. The minute I type “/?paged=38” it gave a 404.

    I then purposely “deleted” a new review into the trash. Everything got shuffled down one space, but still “/?paged=38” gave a 404.

    How should I best debug this problem?

    What you’re describing is really strange… First we need to determine if it’s theme issue. Cheange the theme to Twenty Twelve and see if the problem remains.

    You could also try WP PageNavi plugin and see it that helps.

    Thread Starter necro1970

    (@necro1970)

    Trying out now… WP PageNavi failed at page 6. Will try Twenty Twelve now.

    Thread Starter necro1970

    (@necro1970)

    I can’t see a single “gamepress_review” now… only “posts”.

    Thread Starter necro1970

    (@necro1970)

    In doing this ->

    “I imported all my blog posts from Blogger and they winded up as Posts after importing. I wasn’t sure how to change “Posts” to “Game Reviews” at first. In the end, I resorted to exporting all my Posts into an XML file and I did a “find and replace” to change all the post types to gamepress_reviews for all my game reviews. I then re-imported the XML file back into wordpress.”

    Could I have missed out something in my “find and replace”?

    I looked deeper into it, and this might be theme issue. I made a small change, one that I hope will help. I posted updated version on my website (you just need to copy index.php). Please update and tell if that helps!

    Thread Starter necro1970

    (@necro1970)

    No, it did not. Take a look on my website… I changed to 10 posts per page and now it fails on /?paged=5

    Thread Starter necro1970

    (@necro1970)

    I enabled the kint debugger plug in and noticed that index.php never even executed at all. Somewhere else is causing a problem for me.

    What I did was –

    Immediately after get_header() in index.php, I set d(“Hello”).

    I got a “Hello” for /?paged=4 but no “Hello” for /?paged=5 on a 404.

    I tried this – I set up 4 posts per page, got 13 pages and I can navigate smoothly until the last page. Although I don’t have many Game Reviews, mostly regular posts. You’ll have to give me more time and I’ll try and reproduce this problem on my test blog.

Viewing 15 replies - 1 through 15 (of 25 total)
  • The topic ‘[Theme: Gamepress] Can't go backwards beyond 6th page’ is closed to new replies.