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

Fix Reversed Comments Pagination

描述

What Problem Does This Plugin Fix?

If you have 21 comments on a certain post, and your WordPress discussion settings are:

  1. Comments are paginated
  2. 20 comments per page
  3. Last page displayed by default
  4. Newer comments displayed at the top of each page

Then the default page will show only one comment, #21. The second page will show comments 20 to 1.

What WordPress should do instead is display comments 21 to 2 on the default page, and 1 on the second page. With the help of this plugin, WordPress will do that.

Installation

After you upload and activate, you must make a minor modification to your theme.

In [wp_list_comments](https://codex.wordpress.org/Function_Reference/wp_list_comments) of your theme, pass Walker_Comment_Wink class as the “walker” — like this:

if (class_exists('Walker_Comment_Wink'))
  $walker = new Walker_Comment_Wink();
else
  $walker = '';

wp_list_comments(array('walker' => $walker));

Bug Reports & Issues

I’m using this plugin on my site and have tested it else where. It works great. But your setup might be different and you may notice things I missed. If that’s the case, tell me in the comments of the plugin’s page.

Developed by WinkPress.

评价

此插件暂无评价。

贡献者及开发者

“Fix Reversed Comments Pagination” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

更新日志

1.0

  • The plugin has been used and tested by several people with no problems, so it graduates to 1.0
  • Improved readme.txt

0.5

  • Initial release