Post Pagination – How to Split WordPress Posts into Multiple Pages
Having long posts can sometimes cause issues with load times on your posts. Luckily there is a way to break up posts for this. In this article, we will show you how to split WordPress posts into multiple pages.
On most well-coded themes, all you have to do is paste this code: <!––next page––> wherever you want the next page to start. The pagination will automatically show up. Note: make sure that you are using the Text view rather than Visual view in your post editor.
If for some reason, pagination is not showing up after you have pasted the next page tags, then you would need to add the following code in your single.php loop.
<?php wp_link_pages(); ?>
After adding that, your pagination will start to show. There are several parameters for this function that you can use. The codex page for Styling Page-Links does a good job explaining that.
We hope this article will help you solve how to split WordPress posts into multiple pages.
No comments yet…