Support » Themes and Templates » Add next and previous link to oulipo theme
5 years, 6 months ago
I have my website at http://www.careerilove.com and i use Oulipo theme.
The theme does not have a next and previous post link. So if a user is reading one post and wants to navigate to the next or previous post, he can’t do that. How can I add a next post and previous post link on my blog.
the functions are:
example use (from twenty ten):
<div id="nav-above" class="navigation">
<div class="nav-previous"><?php previous_post_link( '%link', '<span class="meta-nav">' . _x( '←', 'Previous post link', 'twentyten' ) . '</span> %title' ); ?></div>
<div class="nav-next"><?php next_post_link( '%link', '%title <span class="meta-nav">' . _x( '→', 'Next post link', 'twentyten' ) . '</span>' ); ?></div>
</div><!-- #nav-above -->
you would need to add this kind of code to single.php of your theme.