JPF Link Pages Plugin

September 13th, 2006 · 14 Comments · 9,054 views

I recently came to realize that WordPress allows one post to have muliple pages by simply adding the code <!--nextpage--> in your post. If your template includes the ‘link_pages’ or ‘wp_link_pages’ function, it will stop the post at that point, and place navigation there for the other pages. I liked the way MSN.com articles have their multi-page navigation, and wanted to do the same with my blogs, but the built in ‘link_pages’ function couldn’t do it for a couple reasons, so I modified it to my liking. I’ve divided this post into a number of short pages so you can see how it can be used, though their are many ways to use it, especially in combination with the original ‘link_pages’ function.

Note: Tested with Wordpress versions up to and including 2.3

Name: JPF Link Pages WordPress Plugin [Download]
Size: 0,98 kBytes
FileType: .zip-File
Edited on 03. Mar 2007 - 15:57 h
Downloads: 390
Free for visitors

The main thing that needed to be added was the abilty to specify a ’separator’, a symbol between the page numbers like a comma or a vertical bar. The base ‘link_pages’ does do ‘next/prev’ links, but not in combination with the numbers, so that was the next addition, to have page numbers flanked by next/prev links. Finally, MSN has a ‘Continued’ link just above the page numbers, but only on the first page, to catch the readers attention that their are more pages, so I added this as well.

Description

Displays page-links for paginated posts (i.e. includes the <!--nextpage--> Quicktag one or more times). This tag must be within The_Loop.

Subscribe to So Joe... Today!

14 responses so far ↓

Leave a Comment