Beginner's Guide for WordPress / Start your WordPress Blog in minutes

How to Show Recent Comments in WordPress Sidebar

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’ll 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 point 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’ll cover two methods, and the first method is simpler for most users.

Method 1: 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. And 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, you should check out Method 2.

Method 2: A Better Recent Comments Widget in WordPress

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 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 they will be displayed in.

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.

Decent Comments Widget Settings

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

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.

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

3 CommentsLeave a Reply

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.