“next page” and “previous page” stopped appearing
-
I’m using the most current version of Word Press with a custom theme. I’ve been using this theme for a few years now. I noticed today that the “next page” and “previous page” link aren’t showing. They were there last week … and I don’t remember changing anything offhand.
Here is my index page. I went through it and can’t see what would be blocking the code from appearing.
<?php get_header(); ?> <div id="content" class="narrowcolumn"> <?php include (TEMPLATEPATH . "/sticky.php"); ?> <?php if (have_posts()) : ?> <?php while (have_posts()) : the_post(); ?> <div class="post" id="post-<?php the_ID(); ?>"> <div class="post-title"> <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Lien permanent pour <?php the_title(); ?>"><?php the_title(); ?></a></h2> <p class="postinfo"><span class="infocom"><?php comments_popup_link('Post Your Comments', 'Read 1 comment', '% comments'); ?></span><span class="infodate"><?php the_time('F j Y') ?> in <?php the_category(', ') ?><!-- par <?php the_author() ?> --></span> </div> <div class="entry"> <?php the_content('Read the rest of this entry »'); ?> </div> <p class="postmetadata"> <b>Posted by <?php the_author() ?></b> | Posted in <?php the_category(', ') ?> | <?php edit_post_link('Edit', '', ' | '); ?> <?php comments_popup_link('Post Your Comments »', 'Read The 1 Comment »', 'Read % Comments »'); ?> </div> <?php endwhile; ?> <div class="navigation"> <div class="alignleft"><?php next_posts_link('« Read More Blog') ?></div> <div class="alignright"><?php previous_posts_link('Go Back A Page »') ?></div> </div> <?php else : ?> <h2 class="center">Not Found</h2> <p class="center">Sorry, but you are looking for something that isn't here. <?php include (TEMPLATEPATH . "/searchform.php"); ?> <?php endif; ?> </div> <?php get_sidebar(); ?> <?php get_footer(); ?>
Edit: If I go to page/2/ there IS a link at the bottom for “back a page” but not “next page” ….. so that’s my screwup
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘“next page” and “previous page” stopped appearing’ is closed to new replies.