Today I’ll show you how to display most commented posts in WordPress. To get started just install and activate the WordPress popular posts plugin.
And go to Appearance ->Widget,
to drag and drop the widget to your sidebar.
We can configure the widget to show the top 5 post and here we choose the time frame and sort posts by here.
You can also show popular posts on a page or post by using a shortcode like this on the post which will show the 10 most commented posts.
You can see the other parameters here.