Split WordPress Page Into 2 Pages

iTunes, App Store, iBookstore, and Mac App Store

As a WordPress blogger you will likely be familiar with “Read more” (<!–more–>) tag to cut the post and take only the first part of it to be displayed on your homepage, as we all know “More” tag is used to hide the rest part of the page from your homepage to prevents your homepage become lengthy and will show up after we click both the page title or the “read more” itself.

But now after we click the read more, we still face another problem. How about your page covers really detail story by which it become so lengthy in which your readers will have to scroll deep down to read it entirely till finish. In order to deal with such condition we can use <!–nextpage–> and put it to part that we want to split.

The quicktage, will produce pages list beneath the article, it looks generally like this:

Page 1, 2, 3

Here’s the steps:

1. Go to your single.php and find something similar to this:

<?php the_content(); ?>

2. Put the following tag right above the tag:

<?php wp_link_pages('before=<p>&after=</p>&next_or_number=number&pagelink=page %'); ?>

3. And it will look like this in whole:

<?php the_content(); ?>
<?php wp_link_pages('before=<p>&after=</p>&next_or_number=number&pagelink=page %'); ?>

And save your Single.php file.

And now the last step is pick one of your article or if happens you want to write very lengthy article, put the <!–nextpage–> in part of your article like in the screenshot:

Split WordPress Page

That’s all and see you in the next post in SEO Blog.

About Isa Nagib

Hi I am Isa Nagib, one of the contributors of this blog. I like writing and reading all the about technology stuff, thus this blog is media for me to write down about technology!

Be my Twitter, Facebook, +Isa Nagib Google friends, together we can be good friends

Abi