Support » Fixing WordPress » Navigation Links Broken – [ Page 1 of 0 ] – Help!

  • I’m trying to get navigation links to work for a category page located here:

    The file is category-165.php (category specific page)

    I’ve tried WP nav links and wp_pagenavi with no success.

    WP native shows nothing at all – no link, no hint

    wp_pagenavi shows me page [1 of 0]

    So I think that somehow my number of pages is getting messed up, but I don’t know how.

    I’ve verified that my navigation links are within the loop, just after the endwhile.

    Ulitmately I’m just wanting this one category listed on one page, but I’m having a heck of a time getting the pagination to work.

    I can set query_posts($query_string.”&showposts=100″); to get a long list of post titles, but I’d rather split it up into chunks

    For wp_pagenavi I have:
    if(function_exists(‘wp_pagenavi’)) {wp_pagenavi();}

    for WP native I have:
    next_posts_link(‘ Prev’);

    Any thoughts on what’s interfering?


Viewing 3 replies - 1 through 3 (of 3 total)
  • As an update, I’ve done 2 things (Still Unresolved)

    1) I did a mass deactivate of all my plugins. – Nothing Changed.

    2) Changed

    next_posts_link(‘ Prev’);


    previous_posts_link(‘Next’, 100);
    next_posts_link(‘ Prev’, 100);

    This at least got my Next/Prev links to show up –

    But they are not paginating correctly.

    I added


    to allow only 2 posts / page, but when directed to the 3rd page, I get a 404 🙁

    The fact that I can hand in a value of 100 to the next/prev functions for a maxpages value tells me that something else is wrong … likely in my ??theme??

    I’m really not sure that a upgrade from 2.6 to 2.7 is going to change anything.

    Does anyone have any pointers on what things to look for in my theme that could be causing this problem?

    Just as a reminder, this is an ID specific category page that I’m working with (category-165.php), if that matters…



    Is it a problem that category pages can’t display navigation links?

    Or am I using the wrong navigation functions?

    Is there something in my theme that could be causing the problem?

    If so, what should I be looking for that would provide this interference?

    Here’s the link to the category page I’m trying to get nav links on:



    I’ve added query_posts($query_string.”&showposts=200″); to at least get all the content to my users…

    But I still can’t get the navigation to work.

    If anyone needs to see the page in it’s “broken” state, let me know and I’ll put it back with the broken nav-links.

    Otherwise, I’m not going to worry about it until I get 200 articles in that category 🙂


Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Navigation Links Broken – [ Page 1 of 0 ] – Help!’ is closed to new replies.