Trusted WordPress tutorials, when you need them most.
Beginner’s Guide to WordPress
WPB Cup
25 Million+
Websites using our plugins
16+
Years of WordPress experience
3000+
WordPress tutorials
by experts

How to Show Recent Comments in WordPress Sidebar

Editorial Note: We earn a commission from partner links on WPBeginner. Commissions do not affect our editors' opinions or evaluations. Learn more about Editorial Process.

Are you looking to add recent comments to your WordPress sidebar?

Highlighting recent comments is one of the best ways to increase engagement and discussion on your site.

In this article, we will show you how to easily display recent comments in the WordPress sidebar.

How to Show Recent Comments in WordPress Sidebar

Why Show Recent Comments in WordPress Sidebar?

When you first started your WordPress blog, you probably waited expectantly for each new comment. Comments are a good sign that your visitors appreciate your content and want to engage with it.

A lively comment area allows you to build a community around your blog. Visitors can give feedback, ask questions, offer their own points of view, and respond to other comments.

Unfortunately, visitors who simply browse your home page won’t see any of that interaction. However, one way you can let them know about the current discussions on your site is by displaying the latest comments in your blog’s sidebar.

Let’s take a look at how you can show recent comments in the WordPress sidebar. We will cover two methods, and the first method is simpler for most users:

Method 1: Use Default Latest Comments Block in WordPress

By default, WordPress comes with a block that displays the latest comments and can be added to your website’s sidebar.

Simply go to Appearance » Widgets and then click the plus’ +’ icon at the top of the screen to add a new widget. You need to search for ‘comments’ and then drag the ‘Latest Comments’ block to your sidebar.

Drag the Latest Comments Block to Your Sidebar

Once you click the ‘Update’ button at the top of the screen.

You can visit your website to see the new recent comments section.

Latest Comments Block Preview

Notice that the block displays the commenter’s Gravatar and name, a link to the post, the date of the comment, and an excerpt of their comment. Because it’s a block rather than a widget, it’s simple to add recent comments to your posts and pages as well.

When you compare this with the classic ‘Recent Comments’ widget, you’ll notice that the new latest comments block is a huge improvement.

Classic Recent Comments Widget Preview

As a result, most users will no longer need to use a third-party plugin to display recent comments in the sidebar. However, if you want more control over how your recent comments are displayed, then you should check out Method 2.

Method 2: Use A Decent Comments Plugin to Show Sidebar Comments

The first thing you need to do is install and activate the Decent Comments plugin. To learn more, see our step-by-step guide on how to install a WordPress plugin.

Upon activation, simply visit the Appearance » Widgets page and add the ‘Decent Comments’ widget to a sidebar.

Add the Decent Comments Widget to the Sidebar

Initially, the Decent Comments widget looks a little similar to the Latest Comments block in Method 1, but it comes with a lot of options, so you can customize it to your liking.

For example, you can type a title for the widget, decide on the number of comments to display, and choose the order in which they will be displayed.

Decent Comments Widget Settings

You can also select which post types to include, decide whether to display an excerpt, and choose how long the excerpt is.

There are plenty of other options available that you can explore on your own.

Decent Comments Widget Settings

Once you’ve finished customizing the widget, don’t forget to click on the ‘Update’ button to store your settings.

Now, you can visit your website to see the Decent Comments widget in action.

Decent Comments Widget Preview

We hope this tutorial helped you learn how to show recent comments in the WordPress sidebar. You may also want to learn how to get a free email domain or check out our list of proven tips to increase your blog traffic.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

Disclosure: Our content is reader-supported. This means if you click on some of our links, then we may earn a commission. See how WPBeginner is funded, why it matters, and how you can support us. Here's our editorial process.

Editorial Staff

Editorial Staff at WPBeginner is a team of WordPress experts led by Syed Balkhi with over 16 years of experience in WordPress, Web Hosting, eCommerce, SEO, and Marketing. Started in 2009, WPBeginner is now the largest free WordPress resource site in the industry and is often referred to as the Wikipedia for WordPress.

The Ultimate WordPress Toolkit

Get FREE access to our toolkit - a collection of WordPress related products and resources that every professional should have!

Reader Interactions

4 CommentsLeave a Reply

  1. Syed Balkhi says

    Hey WPBeginner readers,
    Did you know you can win exciting prizes by commenting on WPBeginner?
    Every month, our top blog commenters will win HUGE rewards, including premium WordPress plugin licenses and cash prizes.
    You can get more details about the contest from here.
    Start sharing your thoughts below to stand a chance to win!

Leave a Reply to MacEverything Cancel reply

Thanks for choosing to leave a comment. Please keep in mind that all comments are moderated according to our comment policy, and your email address will NOT be published. Please Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.