Linux 软件免费装

Fix Reversed Comments Pagination

开发者 msafi
更新时间 2011年5月5日 21:45
捐献地址: 去捐款
PHP版本: 3.1 及以上
WordPress版本: 3.1.2

标签

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](http://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. == Changelog == 1.0 0.5