How To Split Long Posts and Pages in WordPress Into Multiple Pages

Sometimes Posts or Pages in pages in wordpress can get lengthy, which might bore the reader or can make the design look odd with its old length.Here’s how you can split you posts or pages into multiple pages using a simple shortcode in you post or page.

How To :

  1. Decide where in the page / post you want to the split and place this short code

    “<!—nextpage—>” [without quotes] and remember to insert this in the HTML editor.

    wp-pagination1
    wp-pagination-ex

  2. Now check if your theme supports pagination within posts and pages by looking for this piece of code in your single.php and page.php [ or a similar file according to the theme your using.]

    “<?php wp_link_pages(‘<p><strong>Pages:</strong> ‘, ‘</p>’, ‘number’); ?>”    [without quotes].

    wp-pagination-theme-code

    Incase you don’t find it in your theme, do insert it else you will not be able to see the page numbers of the post/page that it has been split into.Insert this code somewhere after or before the “the_content()” function.

  3. Note that the url will look something like this“http://www.xyz.com/post-title/1/”    — For Page 1
    http://www.xyz.com/post-title/2/”     — For page 2
  4. Now to the SEO part, you could use the canonical tag to eliminate the risk of duplicate content.
Liked It ?? Share It 🙂Share on FacebookShare on StumbleUponTweet about this on TwitterShare on Google+Digg thisBuffer this page
Similar Post  How To Use Grease Monkey Scripts(User Scripts) In Opera

6 comments

Leave a Reply

Your email address will not be published. Required fields are marked *