Older newer post link not showing – sight theme
-
Hi,
I am using the sight theme and in the demo is shows a link to older posts at the bottom.
However since I set it up it only shows the first posts and I cannot navigate to the older posts. Basically the blog only shows the first posts without access to previous posts.Can anyone help me to set this up and if yes where I need to add the code?
Many thanks
<?php get_header(); ?>
<?php if (have_posts()): ?>
<?php while (have_posts()): the_post(); ?><div class=”entry”>
<div <?php post_class(‘single clear’); ?> id=”post_<?php the_ID(); ?>”>
<div class=”post-meta”>
<h1><?php the_title(); ?></h1>
<?php printf(__(‘by <span class=”post-author”>%s</span> on <span class=”post-date”>%s</span> • <span>%s</span>’, ‘sight’),
get_author_posts_url(get_the_author_meta(‘ID’)),
get_the_author(),
get_the_author(),
get_the_time(‘M j, Y’),
get_the_time()
); ?>
<?php edit_post_link( __( ‘Edit entry’, ‘sight’), ‘• ‘); ?>
<?php if (comments_open()): ?>
<?php comments_number(__(‘No Comments’, ‘sight’), __(‘1 Comment’, ‘sight’), __(‘% Comments’, ‘sight’), ”, __(‘Comments Closed’, ‘sight’) ); ?>
<?php endif; ?>
</div>
<div class=”post-content”><?php the_content(); ?></div>
<div class=”post-footer”><?php the_tags(‘‘.__(‘Tags:’, ‘sight’).’ ‘, ‘, ‘); ?></div>
</div>
</div><?php endwhile; ?>
<?php endif; ?><?php comments_template(); ?>
<?php get_footer(); ?>
- The topic ‘Older newer post link not showing – sight theme’ is closed to new replies.