Title: Next Page, Not Next Post
Author: Matt McInvale
Published: <strong>April 28, 2009</strong>
Last modified: September 4, 2014

---

Search plugins

![](https://ps.w.org/next-page-not-next-post/assets/banner-772x250.png?rev=980689)

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://ps.w.org/next-page-not-next-post/assets/icon-256x256.png?rev=980689)

# Next Page, Not Next Post

 By [Matt McInvale](https://profiles.wordpress.org/mcinvale/)

[Download](https://downloads.wordpress.org/plugin/next-page-not-next-post.zip)

 * [Details](https://wordpress.org/plugins/next-page-not-next-post/#description)
 * [Reviews](https://wordpress.org/plugins/next-page-not-next-post/#reviews)
 *  [Installation](https://wordpress.org/plugins/next-page-not-next-post/#installation)
 * [Development](https://wordpress.org/plugins/next-page-not-next-post/#developers)

 [Support](https://wordpress.org/support/plugin/next-page-not-next-post/)

## Description

**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](https://codex.wordpress.org/Function_Reference/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](http://binarym.com/2009/next-page-not-next-post/)

## Installation

 1. Upload `next_page_not_next_post.php` to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Place `<?php echo next_page_not_post(''); ?>` & `<?php echo previous_page_not_post('');?
    >` in your templates
 4. See [our site](http://binarym.com/2009/next-page-not-next-post/) for more examples

## FAQ

None at this point. [Contact us](http://binarym.com/contact/) if you have any and
I’ll add them here.

## Reviews

![](https://secure.gravatar.com/avatar/e265781b9a31d588bfd23bdc8bb3fd5925bfcba2c4eafd86cdb520e2dc23c206?
s=60&d=retro&r=g)

### 󠀁[It works](https://wordpress.org/support/topic/it-works-1253/)󠁿

 [tommcgee](https://profiles.wordpress.org/tommcgee/) July 7, 2017

I was happy to find this solution!

![](https://secure.gravatar.com/avatar/168d68f4a235d6ec2e289a7f98543b15250a33ef342699138e7672dcedecdaf0?
s=60&d=retro&r=g)

### 󠀁[Excellent plugin](https://wordpress.org/support/topic/excellent-plugin-748/)󠁿

 [Jon Dennis](https://profiles.wordpress.org/jondennis/) September 30, 2016

Have been looking for something like this for ages. Ignore the out of date notice
on the Wordpress website, this plugin is excellent if you want next previous links
for Pages (and not posts). The loop parameter even offers a ‘cousins’ feature which
allows the next/prev links to traverse child pages with the same grandparent!

![](https://secure.gravatar.com/avatar/41ad353e4bfee7d6f9362a9e8a6d00bd94256d1bf4fc7aae211979adee64da42?
s=60&d=retro&r=g)

### 󠀁[So easy](https://wordpress.org/support/topic/so-easy-73/)󠁿

 [enky](https://profiles.wordpress.org/enky/) September 3, 2016

So Easy to use. Helped me a lot and saving me a lot of time!

 [ Read all 12 reviews ](https://wordpress.org/support/plugin/next-page-not-next-post/reviews/)

## Contributors & Developers

“Next Page, Not Next Post” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ Matt McInvale ](https://profiles.wordpress.org/mcinvale/)

[Translate “Next Page, Not Next Post” into your language.](https://translate.wordpress.org/projects/wp-plugins/next-page-not-next-post)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/next-page-not-next-post/),
check out the [SVN repository](https://plugins.svn.wordpress.org/next-page-not-next-post/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/next-page-not-next-post/)
by [RSS](https://plugins.trac.wordpress.org/log/next-page-not-next-post/?limit=100&mode=stop_on_copy&format=rss).

## Meta

 *  Version **0.3.0**
 *  Last updated **12 years ago**
 *  Active installations **1,000+**
 *  WordPress version ** 2.7 or higher **
 *  Tested up to **4.0.38**
 * Tags
 * [awesome](https://wordpress.org/plugins/tags/awesome/)[cms](https://wordpress.org/plugins/tags/cms/)
   [pages](https://wordpress.org/plugins/tags/pages/)
 *  [Advanced View](https://wordpress.org/plugins/next-page-not-next-post/advanced/)

## Ratings

 5 out of 5 stars.

 *  [  12 5-star reviews     ](https://wordpress.org/support/plugin/next-page-not-next-post/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/next-page-not-next-post/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/next-page-not-next-post/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/next-page-not-next-post/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/next-page-not-next-post/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/next-page-not-next-post/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/next-page-not-next-post/reviews/)

## Contributors

 *   [ Matt McInvale ](https://profiles.wordpress.org/mcinvale/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/next-page-not-next-post/)