Title: wp-all-posts-page-link
Author: sandapao
Published: <strong>2009 年 8 月 21 日</strong>
Last modified: 2010 年 7 月 29 日

---

搜索插件

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

![](https://s.w.org/plugins/geopattern-icon/all-posts-page-link.svg)

# wp-all-posts-page-link

 作者：[sandapao](https://profiles.wordpress.org/sandapao/)

[下载](https://downloads.wordpress.org/plugin/all-posts-page-link.1.1.zip)

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

 [支持](https://wordpress.org/support/plugin/all-posts-page-link/)

## 描述

Display page link for all posts. Tested on wordpress 2.8.2 and 2.8.4 and 2.8.5, 
on bugs found.

## 安装

 1. Upload `wp-all-posts-pages-link.php` to the `/wp-content/plugins/wp-all-posts-page-
    link` directory.
 2. Activate the plugin through the ‘Plugins’ menu in WordPress.
 3. Place in the index.php of your templates. And the result will be:
     “Prev Page 1
    2 3 Next Page”.
 4. You may change the page number form to set parameters like all_posts_page_link(‘
    Prev’, ‘Next’, ‘P’). If so the result will be:
     “Prev Page P1 P2 P3 Next Page”.
 5. If you want to display with reverse page number, you may set parameter like all_posts_page_link(‘
    Prev’, ‘Next’, ”, 0, ). If so the result will be:
     “Prev Page 3 2 1 Next Page”.
    In the reverse form, the latest is 3.

## 常见问题

  What’s the format of the output?

The format of output as follows(current page number is 1):

 * Prev Page
 * 1
 * [2](https://cn.wordpress.org/plugins/all-posts-page-link/?output_format=md#)
 * [3](https://cn.wordpress.org/plugins/all-posts-page-link/?output_format=md#)
 * [Next Page](https://cn.wordpress.org/plugins/all-posts-page-link/?output_format=md#)

  How to customize prev and next lable?

You can set them on the arguments of function all_posts_page_link, like all_posts_page_link(‘–‘,‘
++’, ‘Page’) . For these arguments, the output will as follows(current page number
is 1):

 * —
 * Page1
 * [Page2](https://cn.wordpress.org/plugins/all-posts-page-link/?output_format=md#)
 * [Page3](https://cn.wordpress.org/plugins/all-posts-page-link/?output_format=md#)
 * [+++](https://cn.wordpress.org/plugins/all-posts-page-link/?output_format=md#)

## 评价

此插件暂无评价。

## 贡献者及开发者

「wp-all-posts-page-link」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ sandapao ](https://profiles.wordpress.org/sandapao/)

[帮助将「wp-all-posts-page-link」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/all-posts-page-link)

### 对开发感兴趣吗?

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

## 更新日志

#### 1.0

 * first version.

#### 1.1

 * Remove class from [](https://cn.wordpress.org/plugins/all-posts-page-link/?output_format=md#)
 * Add option for reverse display. This means you can chose pages like:

 * —
 * Page1
 * [Page2](https://cn.wordpress.org/plugins/all-posts-page-link/?output_format=md#)
 * [Page3](https://cn.wordpress.org/plugins/all-posts-page-link/?output_format=md#)
 * [+++](https://cn.wordpress.org/plugins/all-posts-page-link/?output_format=md#)

OR

 * —
 * Page3
 * [Page2](https://cn.wordpress.org/plugins/all-posts-page-link/?output_format=md#)
 * [Page1](https://cn.wordpress.org/plugins/all-posts-page-link/?output_format=md#)
 * [+++](https://cn.wordpress.org/plugins/all-posts-page-link/?output_format=md#)

In the reverse form, the Page3 is the latest. Othrwise Page1 is the latest.

## 额外信息

 *  版本 **1.1**
 *  最后更新：**16 年前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 2.8.2 或更高版本 **
 *  已测试的最高版本为 **2.8.5**
 *  语言
 * [English (US)](https://wordpress.org/plugins/all-posts-page-link/)
 * 标签
 * [link](https://cn.wordpress.org/plugins/tags/link/)[page](https://cn.wordpress.org/plugins/tags/page/)
   [posts](https://cn.wordpress.org/plugins/tags/posts/)
 *  [高级视图](https://cn.wordpress.org/plugins/all-posts-page-link/advanced/)

## 评级

尚未提交反馈。

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

[查看全部评论](https://wordpress.org/support/plugin/all-posts-page-link/reviews/)

## 贡献者

 *   [ sandapao ](https://profiles.wordpress.org/sandapao/)

## 支持

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

 [查看支持论坛](https://wordpress.org/support/plugin/all-posts-page-link/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](http://www.sandapao.com/html/y2009/08/wp-all-posts-page-link.html)