Page 1 of 1

Problems with pagination

Posted: 02 Mar 2017, 10:48
by aq_user
Facing problems with comments. Came across this post but still it does not seem to be a permanent solution:

"Older Comments" & "Newer Comments" when the comments are paged. They display thr wrong way around. Older goes to more recent comments and Neere goes to past comments.
I have a workaround in "pagination-comments.php"
else {
$comment_type = suffusion_get_comment_type_from_request();
$type = isset($suffusion_comment_types[$comment_type]) ? $suffusion_comment_types[$comment_type] : $suffusion_comment_types['comment'];
$older = sprintf(__('Newer %1$s', 'suffusion'), $type);
$newer = sprintf(__('Older %1$s', 'suffusion'), $type);
}

Swop the 'Older' and 'Newer' around as you can see above and then it works correctly.
If you have a child theme then copy the "pagination-comments.php" to the child and do the changes there.

Any help will be appreciated