How to split WordPress post into separated pages
Most Internet readers do not read a website page as they would a book, so the shorter the better. Even if this means separating or splitting the posts into 4 or 5 pages. Even if search engine optimization is not your goal, it is still a good idea to keep your articles length between 200 to 500 word for your reader’s sake. They are likely to not finish reading your page if it is any longer. This could leave them with only half of the information you wanted them to have or leave them with the impression that your site is too “wordy”.
In this lesson, I will show you how to split your article or post into several pages by adding an additional code into your single.php and your post. Here’s the steps, but first I recommend that you back up your single.php before doing any changes.
Locate and open your single.php and find this code:
<?php the_content(); ?>
Next insert the code below right after it:
<?php wp_link_pages(array('next_or_number'=>'next', 'previouspagelink' => ' «Previous Page ', 'nextpagelink'=>' Next Page»')); ?>
The code should look exactly like this:
<?php the_content(); ?>
<?php wp_link_pages(array('next_or_number'=>'next', 'previouspagelink' => ' «Previous Page ', 'nextpagelink'=>' Next Page»')); ?>
Update your single.php file or save it.
Next go to Write panel in your WordPress admin, and switch to the Code view (if you are using the Visual view) and then enter the following code below to wherever you want to break the post up into a new page.
<!--nextpage-->
Publish your article, this will create a Next and Previous post links guide for your visitor , shown like this:
More reading:
For more details, check out Styling Page-Links at Codex.
Related Posts
If you enjoyed reading this article, please check out other articles below:


Subscribe through Email
Great tutorial, I found it very helpful.