Title: WP-CommentNavi
Author: Lester Chan
Published: <strong>2008 年 11 月 4 日</strong>
Last modified: 2023 年 8 月 9 日

---

搜索插件

![](https://ps.w.org/wp-commentnavi/assets/banner-772x250.jpg?rev=1206686)

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

![](https://ps.w.org/wp-commentnavi/assets/icon.svg?rev=978093)

# WP-CommentNavi

 作者：[Lester Chan](https://profiles.wordpress.org/gamerz/)

[下载](https://downloads.wordpress.org/plugin/wp-commentnavi.zip)

 * [详情](https://cn.wordpress.org/plugins/wp-commentnavi/#description)
 * [评价](https://cn.wordpress.org/plugins/wp-commentnavi/#reviews)
 * [开发进展](https://cn.wordpress.org/plugins/wp-commentnavi/#developers)

 [支持](https://wordpress.org/support/plugin/wp-commentnavi/)

## 描述

Example: `Pages 1 of 20: [1] 2 3 4 ... Last`

### General Usage

 1. Open `wp-content/themes/<YOUR THEME NAME>/comments.php`
 2. Add: `<?php if(function_exists('wp_commentnavi')) { wp_commentnavi(); } ?>`
 3. Go to `WP-Admin -> Settings-> CommentNavi` to configure WP-CommentNavi

 * If you need to configure the CSS style of WP-CommentNavi, open and edit: `commentnavi-
   css.css`
 * WP-CommentNavi will load `commentnavi-css.css` from your theme’s directory if
   it exists.
 * If it doesn’t exists, it will just load the default ‘commentnavi-css.css’ that
   comes with WP-CommentNavi.
 * This will allow you to upgrade WP-CommentNavi without worrying about overwriting
   your page navigation styles that you have create

### Build Status

### Development

 * [https://github.com/lesterchan/wp-commentnavi](https://github.com/lesterchan/wp-commentnavi)

### Translations

 * [http://dev.wp-plugins.org/browser/wp-commentnavi/i18n/](http://dev.wp-plugins.org/browser/wp-commentnavi/i18n/)

### Credits

 * Plugin icon by [Freepik](http://www.freepik.com) from [Flaticon](http://www.flaticon.com)

### Donations

 * I spent most of my free time creating, updating, maintaining and supporting these
   plugins, if you really love my plugins and could spare me a couple of bucks, 
   I will really appreciate it. If not feel free to use it without any obligations.

## 屏幕截图

 * [[
 * Admin – CommentNavi Options
 * [[
 * Default CommentNavi Style

## 常见问题

### To Display View All Comments Link

 1. Open `wp-content/themes/<YOUR THEME NAME>/comments.php`
 2. Add:

* The first value you pass in is the “View All Comments” link text
 * Default: `
wp_commentnavi_all_comments_link('View all comments');`

## 评价

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

### 󠀁[Add a new feature.Good plugin](https://wordpress.org/support/topic/add-a-new-feature-good-plugin/)󠁿

 [waqarpro](https://profiles.wordpress.org/waqarpro/) 2016 年 9 月 28 日

I have 5 Comment Pages with 5 comments on each page.So by default,newest comments
goes to 5th page. How to get newest comments on 1st page? How to reverse wordpress
comments pagination? please help the people to solve this problem.thanks

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

## 贡献者及开发者

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

贡献者

 *   [ Lester Chan ](https://profiles.wordpress.org/gamerz/)

「WP-CommentNavi」插件已被翻译至 1 种本地化语言。 感谢[所有译者](https://translate.wordpress.org/projects/wp-plugins/wp-commentnavi/contributors)
为本插件所做的贡献。

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

### 对开发感兴趣吗?

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

## 更新日志

### Version 1.12.2

 * FIXED: XSS. esc_attr() on form values

### Version 1.12.1

 * FIXED: XSS

### Version 1.12

 * FIXED: commentnavi_textdomain instead of polls_textdomain. Props slightlydifferent.

### Version 1.11

 * NEW: Supports WordPress Mutisite Network Activation
 * NEW: Uses WordPress native uninstall.php

### Version 1.10 (01-06-2009)

 * NEW: Works For WordPress 2.8
 * NEW: Added “View All Comments” Link Function
 * NEW: Added “first”, “page” and “last” CSS Name To Link
 * NEW: Use _n() Instead Of __ngettext() And _n_noop() Instead Of __ngettext_noop()
 * FIXED: Removed “ ” Entity

### Version 1.00 (12-12-2008)

 * NEW: Initial Release

## 额外信息

 *  版本 **1.12.2**
 *  最后更新：**3 年前**
 *  活跃安装数量 **800+**
 *  WordPress 版本 ** 2.8 或更高版本 **
 *  已测试的最高版本为 **6.3.8**
 *  语言
 * [English (US)](https://wordpress.org/plugins/wp-commentnavi/) 和 [Russian](https://ru.wordpress.org/plugins/wp-commentnavi/).
 *  [翻译成简体中文](https://translate.wordpress.org/projects/wp-plugins/wp-commentnavi)
 * 标签
 * [Navi](https://cn.wordpress.org/plugins/tags/navi/)[navigation](https://cn.wordpress.org/plugins/tags/navigation/)
   [page](https://cn.wordpress.org/plugins/tags/page/)
 *  [高级视图](https://cn.wordpress.org/plugins/wp-commentnavi/advanced/)

## 评级

 5 星（最高 5 星）。

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

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

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

## 贡献者

 *   [ Lester Chan ](https://profiles.wordpress.org/gamerz/)

## 支持

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

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

## 捐助

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

 [ 捐助此插件 ](http://lesterchan.net/site/donation/)