Older Entries not working
-
Hi, my older entries link has stopped working and I believe is adding an extra “index” into the link but I am not sure how to resolve it.
The wordpress page is at https://www.lastminutetheatretickets.com/blog and believe the code is: <?php get_header(); ?>
<div id=”content”>
<?php include_once(ABSPATH.’wp-content/themes/lastminutetheatretickets/sidebar-left.php’); ?>
<div class=”main”>
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<div <?php post_class() ?> id=”post-<?php the_ID(); ?>”>
<h2>” rel=”bookmark” title=”Permanent Link to <?php the_title_attribute(); ?>”><?php the_title(); ?></h2>
<p class=”postmetadata”>Posted on <?php the_time(‘F jS, Y’); ?> by <?php the_author(); ?> in <?php the_category(‘, ‘) ?> » <?php comments_popup_link(‘No Comments’, ‘1 Comment ‘, ‘% Comments’); ?> <?php edit_post_link(‘» Edit’, ”, ”); ?></p>
<div class=”entry”>
<?php the_content(); ?>
</div>
<p class=”postmetadata”><?php the_tags(‘Tags: ‘, ‘, ‘, ”); ?> </p>
</div>
<?php endwhile; ?>
<div class=”navigation”>
<div class=”alignleft”><?php next_posts_link(‘« Older Entries’) ?></div>
<div class=”alignright”><?php previous_posts_link(‘Newer Entries »’) ?></div>
</div>
<?php endif; ?>
</div>
<?php get_sidebar(); ?>
</div>
<?php get_footer(); ?>
- The topic ‘Older Entries not working’ is closed to new replies.