I was recently writing a post here on WPM that became more detailed than I had expected and because of this, it turned out to be a pretty long post. I didn’t really want my readers to have to scroll down while reading, so what should I do? I should split these posts and pages into several using the handy <!–nextpage–> Quicktag that WordPress provides. Never heard of this tag? You’re not alone, most WordPress users haven’t. Here’s a screen shot of what it does…
Similar to the “More” Quicktag, the “NextPage” Quicktag used to be found on the visual and code portions of your post and page editor. For whatever reason, this Quicktag is no longer included in the editor by default, but it is still functional and very useful if:
- You know about it
- You know how to use it
- The theme you’re using supports it
- You know how to mod your theme to support it if it doesn’t
How do I use the <!–nextpage–> Quicktag?
Simple. When writing a post or page, simply insert this code, <!–nextpage–> (please note that I am having trouble including this code as it should be displayed. It should include two hyphens on either side of the word nextpage instead of one, see here for the proper code.) Insert this code where you want the post or page to break and have the “Pages: 1,2,3,etc” appear. Important note: You must flip to the “Code” tab of your editor when inserting this code, because well, it’s code;)
What if my theme doesn’t support <!–nextpage–>?
If you’ve inserted the code and you’re not seeing the pages listed as in the screen shot, it’s likely that the theme you’re using does not support this feature. The good news is that you can add the necessary code pretty easily, and I’ll show you how. Just visit the next page to learn more.