If you have very lengthy posts then you can separate or split the posts into several pages, this way will avoid your article become too lengthy and of course your readers will not be lazy for continue reading your article entirely. What you need to do to split your article or post into several pages is by adding an additional code into your single.php and your post. Here’s the steps, but firstly I recommend that you back up your single.php before doing any change, if something goes wrong you have back up:

Ok now head to your single.php and find this code:

<?php the_content(); ?>

And put this code right after it:


<?php wp_link_pages('<p><strong>Pages:</strong> ', '</p>', 'number'); ?>

Thus it should look exactly like this:


<?php the_content(); ?>
<?php wp_link_pages('<p><strong>Pages:</strong> ', '</p>', 'number'); ?>

And then update your single.php or save it.

Now go to “Add new” post or “Edit” post you consider too lengthy and select “HTML” not “Visual” to make the code we are about to add works. Oke chose the part you consider deserve separation and add this following code (the code will split or separate your article into several pages or any page you need):

<!–nextpage–>

See the following image to get the clearer picture:

Add NextPage Code Inside Wordpess Article Post

And then publish your article, you will then see number of the pages or page navigation right beneath your post, and it looks generally like this one:

Page Navigation In Article Wordpress Post

Finish! Hope you find this post useful & see you in the next post.

Related posts:

  1. Display Related Post In Wordpress Without Plugin
  2. Tutorial To Show Ads only on Wordpress Homepage
  3. How To Shorten Wordpress Blog Post URL For Twitter
  4. Show Most Popular Post In Wordpress Without Plugin
  5. Guide To Separate Wordpress Comments And TrackBacks