How to Reduce WordPress Comment Spam using Comments Cookies
June 23, 2014
How to Make Images Caption in WordPress
June 25, 2014

How to Display Most Commented WordPress Posts

It is not a bad idea to showcase the content that sparks discussion on your site. It helps you build a community around the discussions on your website, which is more user engagement and more trafic for your website.

24jun1

You need to do is install and activate the WordPress Popular Posts plugin. Upon activation, simply go to Appearance » Widgets and drag and drop WordPress Popular Posts widget to your sidebar.

24jun2

Select Comments under Sort Posts By option to display your most commented posts. Choose a time range from last 24 hours, last week, last 30 days, or all time. Select All Time in the time range to display your over all most commented posts.

The widget also allows you to choose post type, which is very useful when you are using custom post types on your site. In some other options, you can choose whether to display thumbnail, comment count, or post excerpt etc.

Display Most Commented Posts in WordPress

WordPress Popular Posts is delivered with a shortcode that you can use to your posts or pages in order to display your most commented posts. The shortcode comes with the same configuration parameters. To display it, for example your all time 10 most commented posts, you would better use a shortcode like this:

[php]
[wpp range=all stats_comments=1 order_by=comments post_type=post,page limit=10 wpp_start=<ol> wpp_end=</ol>]
[/php]

To see a full list of parameters you need to go to Settings >> WordPress Popular Posts and then click on FAQs section. Scroll down to the shortcode parameters question then click it.

putracode
putracode
Welcome to Wordpress Mind! We aim to be a source of quality information free WordPress themes for WordPress lovers all around the world.

Leave a Reply

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

CAPTCHA HERE * Time limit is exhausted. Please reload the CAPTCHA.