While rummaging through the WordPress theme code I stumbled upon this vague function call ‘
link_pages()‘. Not knowing what is was or did, I looked it up in the documentation. And it seems that WordPress can paginate (lengthy) posts out-of-the-box. Great! But while the difference between a post and a page can be confusing for WordPress starters, adding pagination to the equation may be too much. 🙂
That’s why it probably is somewhat hidden. (Or should I have read the manual?) Nonetheless, for people prone to write elaborate posts it could come in handy. All you need to do is add the following magic code in your post,
<!--nextpage-->, and your off. Notice the pages links below.