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?


Viewing 1 replies (of 1 total)

    <?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>
    <?php else : ?>
    	<div class="navigation">
    		if (function_exists('wp_pagenavi')) {
    		} else {
    		<span class="navleft"><?php next_posts_link('← Earlier Posts') ?></span>
    		<span class="navright"><?php previous_posts_link('Newer Posts →') ?></span>
    		<?php } ?>
    <?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.