Beginner's Guide for WordPress - Start your WordPress Blog in minutes.
Choosing the Best
WordPress Hosting
How to Easily
Install WordPress
Recommended
WordPress Plugins
View all Guides

How to Feature/Bury Comments in WordPress with Featured Comments

Last updated on by
Special WordPress Hosting offer for WPBeginner Readers
How to Feature/Bury Comments in WordPress with Featured Comments

Comments are great for increasing user engagement, but as your site grows in popularity long comment threads can become a mixed blessing. On one hand you love the community and the discussion, but on the other hand you’ll notice that some comments are great while others not so much. Recently one of our readers came to us with this problem in hopes of finding a solution. To improve the quality of discussion, you can encourage good comments by featuring them and discourage unhelpful comments by burying them. In this article, we will show you how to feature/bury comments in WordPress.

Why Add Featured Comments?

Fostering a large community can be a challenge. You want to make sure that you’re rewarding users who’re adding the most value to the discussion while at the same time politely discouraging other users for leaving unhelpful comments.

This is when Featured Comments come in handy. It allows the admins to highlight the best comments by featuring them.

It also helps you politely discourage unhelpful comments. Often bloggers delete the unhelpful comments which results in the user complaining about censorship. This can look bad and cause others from abandoning the community.

This plugin adds the ability for admins to bury a specific comment which will minimize the comment rather than deleting it. In other words, the users leaving the comment won’t complain about censorship while other users can browse through the comments without the distraction.

One of our favorite sites, CSS Tricks by Chris Coyier uses this technique.

Featured Comments

Notice how he’s burying the unhelpful comments while highlight the good ones.

How to Setup Featured Comments in WordPress

First thing you need to do is install and activate the Featured Comments plugin. After activating the plugin, you can go to the Comments screen in your admin area where you will notice Feature and Bury links below each comment. Once you feature a comment, it will turn green in the admin area where as buried comments will be dimmed, like this:

Featured and Buried comments highlighted differently on Comments screen

However, these changes are not reflected by default on the front-end of your site. The plugin simply adds a CSS class .featured or .buried to respective comments, and give you full freedom to control how you want it to look by modifying the CSS.

special class added to comments to handle display of featured or buried comments

You can add CSS classes in your theme’s stylesheet to handle the display of featured and buried comments on the front end.

Below is an example CSS snippet that you can use. If you want to make it look like CSS-Tricks, then you will have to add some jQuery magic as well.

#comments li.featured { 
background-color:#eee;
} 
#comments li.buried {
opacity: 0.5;
}

Feel free to modify the CSS to match your own color scheme. If you use the CSS above, then this is how featured and buried comments will appear on your site.

Highlighting featured comments and dimming buried comments

On top of having the admins or moderators making the executive decision about featured/bury comments, you can also let users report inappropriate comments. This will make your job a bit easier while at the same time make your community feel like they’re part of something bigger.

We hope this article helped you highlight good comments and discourage bad comments with Featured Comments. For feedback and questions, please leave us a comment below or join us on Twitter.


Editorial Staff at WPBeginner is a team of WordPress experts led by Syed Balkhi. Page maintained by Syed Balkhi.

WPBeginner's Video Icon
Our HD-Quality tutorial videos for WordPress Beginners will teach you how to use WordPress to create and manage your own website in about an hour. Get started now »

Comments

  1. Barb Groth says:

    I had one or two really great comments made while my site was on Barbwiredigi.wordpress.com and then I moved to self hosted Barbwiredigi.com … now those great comments no longer appear on my new site. Is there a way to feature the former comments on my now existing site of Barbwiredigi.com?

    To me, comments are a great part of a blog, not only for the blogger but for the readers.
    Thanks!

  2. Alex Ivanovs says:

    That’s a pretty neat future, thank you! I think this will further help to increase the community experience for some blogs out there.

Add a Comment

We're glad you have chosen to leave a comment. Please keep in mind that all comments are moderated according to our comment policy, and all links are nofollow. Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.