How To Paginate A Long Post In Wordpress & Troubleshooting

Do you have a long post which sometimes span across 3 to 5 or more pages in length? Or would you like to get more page views for every post per visit? How about splitting a large picture post into individual pages on its own and not get ‘picture-blind’?

This technique is actually already built in into Wordpress (for ages!) and surprisingly not many people knows about it, except for the Gurus of course. :D

So how do you create paging for your posts? Simple. All you need to do is to add this line into the HTML/Code part of your post:

<!--nextpage-->

Here’s an example of it in practice:

...
We were about to leave when we saw the cat
<!--nextpage-->
trying to drink from the watering can.
...

And you’ll get an effect like this:

Paginating Wordpress 1

The number of pages will depend on how many of the next page code you add into your post. I’ve paginated this page for you to try it out. Click on page 2 to continue.

Subscribe to our RSS Feed for more posts such as this via your feed reader like Google Reader

Related Posts

· Written on: 10-03-07 · No Comments »

Leave a Reply

Note: This post is over a year old. You may want to check later in this blog to see if there is new information relevant to your comment.

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word