给文章单页增加上一页和下一页

<div style=”text-align: left;”><?php previous_post_link(‘上一篇: %link’); ?> </br>
<div style=”text-align: right;”><?php next_post_link(‘下一篇: %link’); ?></div></div>

或(or)

<div style=”text-align: left;”><?php previous_post_link(); ?> </br>
<div style=”text-align: right;”><?php next_post_link(); ?></div></div>

 

上一篇: