Title: Pager Widget
Author: Paul Ryan
Published: <strong>2010 年 11 月 23 日</strong>
Last modified: 2026 年 5 月 19 日

---

搜索插件

![](https://s.w.org/plugins/geopattern-icon/pager-widget.svg)

# Pager Widget

 作者：[Paul Ryan](https://profiles.wordpress.org/figureone/)

[下载](https://downloads.wordpress.org/plugin/pager-widget.1.8.5.zip)

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

 [支持](https://wordpress.org/support/plugin/pager-widget/)

## 描述

Description: Widget that provides “Parent | Previous | Next” buttons to navigate
between pages at the same hierarchy level (and up to the parent page). You can modify
the settings to choose the words you want to use. To enable, first activate the 
plugin, then add the widget to a sidebar in the Widgets settings page.

View or contribute to the plugin source on github: [https://github.com/uhm-coe/pager-widget](https://github.com/uhm-coe/pager-widget)

## 屏幕截图

 * [[
 * The Pager Widget added to the page bottom widget area.

## 安装

 1. Upload `pager-widget.php` to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Place the widget where you want it through the ‘Widgets’ menu in WordPress
 4. Adjust the settings, if necessary, after placing the widget in a widget area

## 评价

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

### 󠀁[Fan of this plugin](https://wordpress.org/support/topic/fan-of-this-plugin-2/)󠁿

 [nudnavda](https://profiles.wordpress.org/nudnavda/) 2024 年 7 月 22 日 1 回复

I use this plugin for some years now: it’s impressively simple but equally useful–
with the help of some added css for esthetics. I appreciate how useful it is for
creating categorised pagination, so i’m very glad to see that you (developer) keep
actualizing the source base. Big thanks for this! 🙏

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

### 󠀁[Really Nice](https://wordpress.org/support/topic/just-ok-7/)󠁿

 [timbobo](https://profiles.wordpress.org/timbobo/) 2019 年 2 月 23 日

The story mode on this plugin makes it almost do what I needed it to do, which was
page through an entire section of content with a title level, chapter level, and
page level. I just don’t like that in this mode my very top level page still has
a back button, which I had to work around. But this is easy to do with custom CSS
on that particular page: /* hides the previous button on the first page */ #linksPrevNext
a:first-child{ display: none; } /* hides the next button on the last page */ #linksPrevNext
a:last-child{ display: none; } Having this as a widget is nice because you can decide
exactly where you want it to appear. I am using “widgets on pages”, to just include
it on pages where I want it to show up. It would be nice if you could still have
a parent button in story-mode, but then just specify where you want that link to
go. I recommend this plugin anyone trying to simply add some previous and next navigation
to pages on your site. This plugin works well.

 [ 阅读所有2条评价 ](https://wordpress.org/support/plugin/pager-widget/reviews/)

## 贡献者及开发者

「Pager Widget」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Paul Ryan ](https://profiles.wordpress.org/figureone/)

[帮助将「Pager Widget」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/pager-widget)

### 对开发感兴趣吗?

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

## 更新日志

#### 1.8.5

 * Tested up to WordPress 7.0.

#### 1.8.4

 * Tested up to WordPress 6.9.
 * Enable plugin release confirmations (security).

#### 1.8.3

 * Fix log warnings about undefined sortStoryModeAlphabetically.
 * Tested up to WordPress 6.2.2.

#### 1.8.2

 * Don’t render widget on non-hierarchical post types.
 * Tested up to WordPress 5.8.1.
 * Apply coding standards via phpcs.xml.

#### 1.8.1

 * Tested up to WordPress 5.4.2.
 * Fix deprecation notice about create_function() on PHP 7.2 or higher.
 * Fix PHP notice about isStoryMode when checkbox is toggled when saving widget.

#### 1.8.0

 * Remove empty <h2 class=”widget-title”></h2> above widget.
 * Add page titles to anchor title attribute (so they show as tooltips). Props @UsuallyLogical
   for the suggestion!

#### 1.7.5

 * Add feature to sort story mode alphabetically. Props @deruyck for the suggestion!

#### 1.7.4

 * Fix for %title on parent link (was using current page title, not parent page).
   Props @Cornwell for tracking down the bug!

#### 1.7.3

 * Updated for WordPress 3.9.

#### 1.7.2

 * Fixed a story mode bug where the second-to-last page wouldn’t display a next 
   link.

#### 1.7.1

 * Fixed a sort order bug with the new story mode (oops).

#### 1.7

 * Add Story Mode, which pages through all site content, not just content under 
   a parent item. It basically walks through the site’s tree structure.

#### 1.6

 * Add variable %title so you can display the name of the page on the pager links

#### 1.5

 * Bug fix release (missed an $after_widget print on pages without the pager)

#### 1.0

 * Public release.

#### 0.9

 * Added ability to change level and text of links in the Widget panel.

#### 0.8

 * Converted plugin to 2.8 architecture to support multiple instances.

#### 0.5

 * Added link to parent.

#### 0.1

 * First development version.

## 额外信息

 *  版本 **1.8.5**
 *  最后更新：**3 周前**
 *  活跃安装数量 **100+**
 *  WordPress 版本 ** 2.8 或更高版本 **
 *  已测试的最高版本为 **7.0**
 *  语言
 * [English (US)](https://wordpress.org/plugins/pager-widget/)
 * 标签
 * [back](https://cn.wordpress.org/plugins/tags/back/)[navigation](https://cn.wordpress.org/plugins/tags/navigation/)
   [next](https://cn.wordpress.org/plugins/tags/next/)[pager](https://cn.wordpress.org/plugins/tags/pager/)
   [widget](https://cn.wordpress.org/plugins/tags/widget/)
 *  [高级视图](https://cn.wordpress.org/plugins/pager-widget/advanced/)

## 评级

 5 星（最高 5 星）。

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

[Your review](https://wordpress.org/support/plugin/pager-widget/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/pager-widget/reviews/)

## 贡献者

 *   [ Paul Ryan ](https://profiles.wordpress.org/figureone/)

## 支持

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

 [查看支持论坛](https://wordpress.org/support/plugin/pager-widget/)