PHPMatters Help You Better Hosting Your PHP-based Sites
How to Split WordPress Posts into Multiple Pages

How to Split WordPress Posts into Multiple Pages

As search engines prefer informative and meaningful posts, many bloggers compose long articles to add as much information as possible. It is true that long posts are more likely to be ranked highly on the searching result pages than some short ones, but the long paragraph is bad for the reading experience of your visitors. In this case, you’d better split these large posts into multiple pages. The following parts simply tell you how to do this with a WordPress site.

Benefits of Splitting Long Posts

In fact, there are four main benefits if you split your large and long blog posts into multiple pages. Check the details as below.

  • Generally, if people feel the beginning part of your post interesting, they are likely to navigate to the next page for further reading. This can increase the pageviews of your website greatly.
  • People may feel eye-strained when they read a lengthy post. Therefore, you’d better split it into some short parts for encouraging readers to stay longer for content reading. This can greatly decrease the bounce rate.
  • A lengthy post may destroy the overall design of your webpage. Therefore, if you are likely to publish long posts for demonstrating the detailed information, you’d better split them for well-looking web pages.
  • This practice simply gives you more spaces for the adding the advertisements.

How to Break WordPress Posts

To achieve the goal, you need to go through two steps from your WordPress administrative panel.

Step One

Firstly, you should enter your backed-end admin and click the Editor button under the Appearance tab. Then, you can edit the stylesheet of your currently-used template.

Editor button under Appearance tab

Now, you can find a list of PHP files from the right-hand of the webpage. Here, open the file that is named as single.php, and enter the following code into the right section that indicates the ending of your post. Check the example in the following.

<?php wp_link_pages(); ?>

Single Post Coding

Some template designers may already add this coding into the theme file during the developing process. In this case, you can directly start from the step two.

Step Two

Now, you can enter the editing page of the blog post that you want to split. Open it using the HTML editor but not the Visual editor. Then, you can break your post by entering the below coding on your desired locations.


Note that the code can be used for many times within one post, and it should be placed at the exact location where you want your rest content to be showed on the next page.


Break Post using Code


Break Post Result