• jebus

    (@jebus)


    I’ve been using SEO_pager on my blog, which works great and I like the nav much better. I have one category that imports jobs from Indeed.com, and hence has about 950 posts in it.

    SEO_pager was working fine on this category, but now it isn’t. The other categories work fine. I recently moved from shared hosting to a VPS, so that’s most likely it. But, it doesn’t throw an error or anything, it just stops rendering the page at the point where SEO_pager() is called.

    The code is exactly the same, migrated over from the shared account to the VPS. Something is breaking SEO_pager though, and without throwing an error of any kind.

    Thanks for any help.

Viewing 1 replies (of 1 total)
  • Thread Starter jebus

    (@jebus)

    Okay, I figured this out through some trial and error.

    On line 913 of wordpress-seo-pager.php there’s this:

    $p = query_posts(“showposts=-1&cat=$catid”);

    showposts as a parameter of query_posts is deprecated, as of WP 2.1, in favor of posts_per_page. So, I took it out and it works again. Not sure why that would break everything all of a sudden, but there you go.

    I tried posts_per_page instead, and then I got an error that seo_pager() was a function that didn’t exist. I’d love to figure that out, just for my own personal edification, but I’m tired and I think I’ll drink a beer instead.

    Ta.

Viewing 1 replies (of 1 total)
  • The topic ‘pagination not showing with category with lots of posts’ is closed to new replies.