How To Rearrange Comments in WordPress – Display the Most Recent One on Top

Like Tweet Pin it Share Share Email

Rearranging feedback to show the most recent one on high is changing into a brand new development that an increasing number of high bloggers are implementing on their website. In case your weblog has numerous consumer interplay, then this feature ought to be your selection as a result of usually the current feedback get buried on the final pages or on the very backside. On this article we are going to present you how one can rearrange your feedback and show the newest one on high.

Video Tutorial

In case you don’t just like the video or want extra directions, then proceed studying.

The Default Technique

Merely go to Settings » Dialogue. Beneath the Different remark settings, you’ll find the choice, Feedback ought to be displayed with the older feedback on the high of every web page. Click on on the drop down menu and choose Newer. After that, you have to click on on the Save Modifications button on the backside of the web page to retailer your settings.

Display newer comments on top in WordPress

That’s all, WordPress will now show most up-to-date feedback on high.

Alternate Technique

If for some motive the default methodology doesn’t give you the results you want, then you possibly can do that. Merely add this code in your theme’s capabilities.php file or a site-specific plugin.

operate wpb_reverse_comments($feedback) 	
add_filter ('comments_array', 'wpb_reverse_comments');

This code makes use of the comments_array filter to reverse the show of feedback in your WordPress website.

That’s all, we hope this text helped you rearrange feedback in WordPress to show the newest one on high.

In case you favored this text, then please subscribe to our YouTube Channel for WordPress video tutorials. You too can discover us on Twitter and Google+.

Comments (0)

Leave a Reply

Your email address will not be published. Required fields are marked *