Next_Posts_Link working on archive, not working on single??
-
Heya – my next_posts_link and previous_posts_link aren’t working on the single view, but ARE working on the archive view. The templates are exactly the same. Here’s the code (I had to add the ‘1000’ to get it to work on the archive view):
<div class=”navigation”>
<div class=”alignleft”><?php next_posts_link(‘« Older Articles’, ‘1000’) ?></div>
<div class=”alignright”><?php previous_posts_link(‘Newer Articles »’, ‘1000’) ?></div>
</div>I’ve tried disabling all plugins, checking the functions and header files for anything weird. I tried wp_reset_query before this code.
Does anyone have ideas about how I might troubleshoot this? I’ve tried several different solutions found in a Google search and no dice. I think somehow I need to figure out what variable is getting messed up and where. Any ideas?
Thanks. ??
- The topic ‘Next_Posts_Link working on archive, not working on single??’ is closed to new replies.