4

Divide a WordPress Post into Multiple Pages


wordpress-logoBloggers tend to post lengthy reviews or DIY tutorials that could run into well over 100 lines. The basic rule of writing a post is to keep in mind that length or total word count, does not scare away the reader. So what can you do to overcome this problem? Simple just divide the post into number of parts!

Dividing a post has its own benefits. The first of course is that it creates an illusion that the post length is less. Second is that as the number of words on each page will be less (as compared to when the whole post is on the same page) and the loading time of your website does reduce.

So how do you do it? Well, not many people know that wordpress has a built-in feature that helps you to achieve division of posts. No plug-ins are required whatsoever.

After typing you lengthy post, switch over to the ‘HTML’ view of your post and just paste the following code at the place(s) where you want to divide the post:

<!--nextpage-->

For eg.

This is my random content. I’m writing this demo content to show the usage of nextpage tag.
<!–nextpage–>
This is the content that I want to show on the next page!

The result would appear something like this:

Pagelinks

You can include it as much times as you need. For further customization please refer this WordPress article.

Note: If your theme does not “support” the <!–nextpage–> tag (ie. the posts aren’t getting divided or paginated), you will need to add the function wp_link_pages()to the single.php template file. This is generally added immediately after the function call for the_content(). Read more about this.


Filed in: How-to, Wordpress Tags: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,

Related Posts

Bookmark and Promote!

4 Responses to "Divide a WordPress Post into Multiple Pages"

  1. yedhu says:

    very help ful…

  2. Abdul says:

    Thanks a lot. I just use your advice in my blog :D

  3. thanks yar, very helpful i just use this….
    regards,
    junaid abbasi

  4. nitin says:

    provlem solving…………….thanks

Leave a Reply

Submit Comment

© 2012 Tech With Ric. All rights reserved. XHTML / CSS Valid.