Fix Reversed Comments Pagination Wordpress Plugin - Rating, Reviews, Demo & Download

Fix Reversed Comments Pagination Wordpress Plugin - Rating, Reviews, Demo & Download
No ratings yet
Free
Follow for free plugins, new theme releases and theme news

Plugin Description

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.

Screenshots

No screenshots provided


Reviews & Comments