A simple way to arrange your comments by most recent is to add this to your functions.php file:
if (!function_exists('custom_reverse_comments')) {
function custom_reverse_comments($comments) {
return array_reverse($comments);
}
}
add_filter ('comments_array', 'custom_reverse_comments');
Related Posts:
- Paginate result set from $wpdb->get_results()
- Reverse comment pagination numbers
- Is there any way to override “break comments into pages” and “close comments for old posts” on certain posts, but not on others?
- How to no follow the paginated comments
- Comments Pagination as an unordered list
- How to add pagination to comments?
- Comment pagination – How to show determined number of comments on the first page?
- changing comment-page-# to something like review-page-#
- How do you turn on comments for only the last page of a paginated post?
- Redirect to page 2 after comment
- Set noindex page-comment from Pages 2, 3 and More?
- Pagination Comments Doesn’t Show
- PAIN. Comments Pagination
- assumed as comment line
- Comment Pagination
- get_query_var(‘paged’) for WP_Comment_Query always return 1 when using paginate_comments_links()
- Comments pagination: reverse JUST the links texts (1-2-3 to 3-2-1), not comments order
- What is wrong with this? [closed]
- Comments pagination on author page
- Comment submission & navigation redirects to default language
- If paginated comments don’t span to a second page, how do I hide the div wrapper?
- Pagination comments
- Remove “#comments” from comments pagination url
- R: Comment out block of code
- How to rearrange fields in comment_form()
- How do I delete all comments from a specific old blog post?
- Removing the “Website” Field from Comments and Replies?
- How to enable comments for pending and draft posts?
- How to load and show comments with AJAX instead of pagination?
- Comments not appearing at all
- A plugin where users can comment with Facebook or Twitter or OpenID [closed]
- Comment Count for each Comment Author
- Show comments from multiple post IDs in comment template
- Hook/Filter before and after comments
- Comment form validation
- Sticky Comments
- Comments number message in password protected post
- Disable Comments Feed
- Use rich text editor in comments?
- I have tried using Plugins to remove 72K comments with no success
- Show only posts which can be commented
- What should I hook to add extra fields to comments?
- Report spam button
- Recent comments from my blogs only
- show if comment is in moderation
- Disable or Enable Comments on Front end [closed]
- Deleting the attached “comment replies” when trashing a comment
- How can I get a list of comments by target
- Load comments.php template outside the post loop
- Auto-fill Custom comment fields
- Highlighting the current users comment
- How to make all the posts commentable by default? Imputs in Settings/Discussions are not saved
- How to auto empty comment trash after X days
- comments.php keep comment date/time but remove date/time’s #hyperlink
- how to change comment author’s link from user’s website to author’s page(author.php)?
- Disabling archives, search results, comments, etc?
- Control panel loads slowly due to 2 slow queries on comment table
- Display complete comment section via post ID
- How to retain comment text on comment form after login/registration?
- After Submitting Comment Form Shows an Empy Page in WordPress
- Unique User for all visitor, but possibility to comment with unique name
- comments_array filter doesn’t work in some themes
- Redirect when click on “response” in comment section
- Troubleshooting Emoji in Comments
- strange behavior with comment position
- Batch approve comments
- Disable comments and pingbacks on old custom post types
- Can I turn off further comments on a single page?
- How to remove the number of a comment in the url slug?
- How to allow duplicate comments?
- Are there some caveats for using guids for FB comments
- WordPress comments – delimiter “/” not found
- Make email not required comments.php
- Give subscribers the option to post anonymously
- Thesis Theme Custom Loop
- Sync comments between two WP installs
- Displaying comment counts in WP Gallery thumbnail view
- Removing comment option
- pre_comment_content filter not working using IntenseDebate Enhanced moderation
- How t Remove Labels from comment Box
- How to remove a span class?
- Allow comments only for custom post type
- Comment author profile image
- Comment Form Fields when user logged in
- wp_mail doesnt work inside transition_comment_status
- Showing different images depending on user role
- Why the capability ‘activate_plugins’ is needed to allow a role to see all posts/pages/comments?
- How to require users not to be logged in for comments on single page only?
- How can I eliminate all comments going into moderation?
- How to change comment-page-1#comment-25 to any string?
- Current user comments + post title
- comment-reply.js always focuses on comment textarea
- I need to delete all posts from my homepage & create a static front page [closed]
- Is there a better way to check for a new comment?
- Add comment meta
- Comments from mobile apps & Disqus
- Commentform – Hightlight invalid fields instead of prompting towards error page
- In list with recent coments – only show one comment per page/post (latest comment)
- check if a comment was made by a registered user
- Add ACF Quick Edit Columns on Comments