WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] tag pagination is not working (2 posts)

  1. navigadget
    Member
    Posted 3 years ago #

    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.

  2. navigadget
    Member
    Posted 3 years ago #

    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 : ?>

Topic Closed

This topic has been closed to new replies.

About this Topic