With pagination you can split a single post or page into multiple pages for paged navigation. There are a lot of plugins available for the same, but WordPress comes with a built-in mechanism to accomplish this. Its better to do this simple task using this method in spite of it involving some manual work as it avoids the overheads (by plugins). It also gives you complete control over where the page-break occurs.
How to achieve this?
A very long post can take very long to load, slowing down your site. Also many readers prefer to have logical breaks while reading.
Pagination comes to your rescue. Here’s what to do:
While editing your page/post through the WordPress editor, you need to add[code] <!–nextpage–>
tag at the place where you decide to split the page.
Common mistake is adding the quicktag in visual mode. This will print it as it is and won’t split the pages as expected. So go the the text mode before adding the quicktag as shown below:
Now in text mode, add the quicktag wherever you decide it to be.
Publish and its done! The pagination will appear like this:
Compatibility Issue with themes
Sometimes pagination is successful but the navigation section does not appear. In other words, your page gets split but you don’t find any link to access them. This is because your present theme is unable to handle the tag for splitting the page. Its a small problem and can be fixed easily. Insert the following line to the theme’s template file.[code] <?php wp_link_pages(); ?>
Often the template file is called single.php. However some themes might not have a separate file for individual posts, and might utilize index.php itself. In this case you will need to edit this file.
For example, this is what we have set on our site.[code] <section id=”body”>
<?php the_content(); ?>
<?php wp_link_pages(); ?>
<?php comments_template(); ?>