Title: Next Page, Not Next Post
Author: Matt McInvale
Published: <strong>2009 年 4 月 28 日</strong>
Last modified: 2014 年 9 月 4 日

---

搜索插件

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

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

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

# Next Page, Not Next Post

 作者：[Matt McInvale](https://profiles.wordpress.org/mcinvale/)

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

 * [详情](https://cn.wordpress.org/plugins/next-page-not-next-post/#description)
 * [评价](https://cn.wordpress.org/plugins/next-page-not-next-post/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/next-page-not-next-post/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/next-page-not-next-post/#developers)

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

## 描述

**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/)

## 安装

 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

## 常见问题

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

## 评价

![](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/) 2017 年 7 月 7 日

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/) 2016 年 9 月 30 日

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/) 2016 年 9 月 3 日

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

 [ 阅读所有12条评价 ](https://wordpress.org/support/plugin/next-page-not-next-post/reviews/)

## 贡献者及开发者

「Next Page, Not Next Post」是开源软件。 以下人员对此插件做出了贡献。

贡献者

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

[帮助将「Next Page, Not Next Post」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/next-page-not-next-post)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/next-page-not-next-post/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/next-page-not-next-post/)，或通过
[RSS](https://plugins.trac.wordpress.org/log/next-page-not-next-post/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/next-page-not-next-post/)。

## 额外信息

 *  版本 **0.3.0**
 *  最后更新：**12 年前**
 *  活跃安装数量 **1,000+**
 *  WordPress 版本 ** 2.7 或更高版本 **
 *  已测试的最高版本为 **4.0.38**
 *  语言
 * [English (US)](https://wordpress.org/plugins/next-page-not-next-post/)
 * 标签
 * [awesome](https://cn.wordpress.org/plugins/tags/awesome/)[cms](https://cn.wordpress.org/plugins/tags/cms/)
   [pages](https://cn.wordpress.org/plugins/tags/pages/)
 *  [高级视图](https://cn.wordpress.org/plugins/next-page-not-next-post/advanced/)

## 评级

 5 星（最高 5 星）。

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

[您的评价](https://wordpress.org/support/plugin/next-page-not-next-post/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/next-page-not-next-post/reviews/)

## 贡献者

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

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/next-page-not-next-post/)