WordPress.org

Ready to get started?Download WordPress

Plugin Directory

Next Page, Not Next Post

Easily create navigation to sibling pages. Similar to next_post_link() and previous_post_link() but for pages.

Next Page, Not Next Post is a very simple plugin that creates navigation between sibling pages.

This plugin gives you two new functions, next_page_not_post($anchor_text, $loop, $sort) & previous_page_not_post($anchor_text, $loop, $sort). Each function has three simple options.

  1. Anchor Text - Either set the anchor text manually or use the page title. Use %title to use page title with other strings. Defaults to page title, just leave blank for that.
  2. Looping - Link the first element to the last and the last to the first, or not. Defaults to not looping. Set to true for looping, cousins for cousin based navigation and cousinsloop for cousins navigation that loops.
  3. Get Pages - This is used to determine how to sort your results. Use the documentation at Get Pages to find all available options here. Defaults to menu_order ascending.

SHORTCODES You can use [next_page] and [previous_page] shortcodes within your page content. Supported options are 'anchor', 'loop' and 'getPagesQuery'.

More documentation for Next Page, Not Next Post on BinaryM.com

Tags: , ,

Requires: 2.7 or higher
Compatible up to: 3.5.2
Last Updated: 2013-2-27
Downloads: 18,803

Ratings

4 stars
4.8 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1
100,2,2
100,1,1
100,2,2
100,2,2
100,1,1
100,2,2 100,1,1
100,1,1
50,2,1
100,2,2
100,1,1
100,1,1 100,1,1
100,4,4
100,1,1
100,1,1
100,1,1
100,1,1
100,1,1
100,1,1