Support » Themes and Templates » "Older Posts" Link going to dead page

  • The main page of my blog shows the set number of postings, and at the bottom is has the “Older posts” link that should scroll to the next set of postings beyond those on the first page.

    When i click on this link, it says “page not found”

    I am pretty sure this used to work at some point but I honestly haven’t clicked it in some time. Any suggestions on how to make this work?

    Laura
    http://www.twofrugalmommas.com

Viewing 1 replies (of 1 total)
  • http://codex.wordpress.org/Next_and_Previous_Links

    <?php if (is_single()) : ?>
    
    	<div class="navigation">
    
    		<span class="navleft"><?php previous_post_link('← %link') ?></span>
    
    		<span class="navright"><?php next_post_link('%link →') ?></span>
    
    	</div>
    
    <?php else : ?>
    
    	<div class="navigation">
    
    	<?php 
    
    		if (function_exists('wp_pagenavi')) {
    
    			wp_pagenavi();
    
    		} else {
    
    	?>
    
    		<span class="navleft"><?php next_posts_link('← Earlier Posts') ?></span>
    
    		<span class="navright"><?php previous_posts_link('Newer Posts →') ?></span>
    
    		<?php } ?>
    
    	</div>
    
    <?php endif; ?>

    This is s sample from a theme named primepress

Viewing 1 replies (of 1 total)
  • The topic ‘"Older Posts" Link going to dead page’ is closed to new replies.