WordPRESS single.php previous_post_link(), next_post_link()

<!-- 前の記事 -->
<nav class="postNavi">
<span class="prev">
<?php previous_post_link('%link'); ?>
</span>

<!-- 次の記事へ -->
<span class="next">
<?php next_post_link('%link'); ?>
</span>
</nav>