Support » Fixing WordPress » Comment pagination breaking sort by date
4 years, 2 months ago
For some reason, when I have pagination turned on, the sort by date is only being performed on that page, not the whole list of comments.
Here is a sample of what is happening:
Here’s how I have things set up:
1) In Admin > Settings > Discussion I have:
“Break comments into pages with 5 top level comments per page and the first page displayed by default”
Comments should be displayed with the newer comments at the top of each page
2) In comments.php in my theme I have:
<?php wp_list_comments() ?>
<?php paginate_comments_links() ?>
I’ve tried passing things like ‘reverse_top_level’ to wp_list_comments(), but again this just effects the current page.
Where am I going wrong?