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

Translations

Credits

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

常见问题

  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');

评价

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条评价

贡献者及开发者

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

贡献者

将“WP-CommentNavi”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

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