這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 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.

評價

There are no reviews for this plugin.

貢獻者及開發者

“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