WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] tag pagination is not working

[Resolved] tag pagination is not working

  • Hi all,
    I just realized when I click on a tag it only shows one page of results – no pagination links… This used to work when I used categories but I switched to using tags. Here is an example. It must be an easy fix in archives.php perhaps… maybe my theme is just too old.

    Your help is appreciated.

Viewing 1 replies (of 1 total)
  • Solve my problem. My archives.php simply did not have next and previous page links… Why they were not there in the first place I have no idea. So I added this (the navigation div) at the end of the while loop in my archives.php file…

    <?php endwhile; ?>
    
    		<div class="navigation">
    			<div class="alignleft"><?php next_posts_link('&laquo; Older Entries') ?></div>
    			<div class="alignright"><?php previous_posts_link('Newer Entries &raquo;') ?></div>
    		</div>
    
    	<?php else : ?>
Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] tag pagination is not working’ is closed to new replies.