How to Create a Recent Comments Page in WordPress

Do you want to create a separate activity page on your site that shows all recent comments? Highlighting recent comments is one of the ways to increase engagement and discussion. In this article, we will show you how to create a recent comments page in… Read More »

The post How to Create a Recent Comments Page in WordPress appeared first on WPBeginner.

Do you want to create a separate activity page on your site that shows all recent comments? Highlighting recent comments is one of the ways to increase engagement and discussion. In this article, we will show you how to create a recent comments page in WordPress.

Creating a recent comments page in WordPress

Why, When, and Who Needs a Recent Comments Page?

Comments play an important role in building a community around your blog. They allow readers to participate in discussions and interact with you.

However, building a community is no easy task. Many site owners struggle in the beginning. See these 11 tips to get more comments on your WordPress blog posts.

You will notice that this list contains a section about showcasing your top commenters. Displaying comments prominently on your website encourages more people to comment.

WordPress comes with a built in widget to display recent comments in a sidebar. However, sidebars are often too narrow which makes your recent comments widget a bit condensed and difficult to read.

Recent comments in a sidebar

To supplement your recent comments widget, you can add a recent comments page. Where users can easily read recent comments and follow discussions on your blog.

Let’s take a look at how you can create a recent comments page in WordPress.

Creating a Recent Comments Page

First thing you need to do is install and activate the Decent Comments plugin. For more details, see our step by step guide on how to install a WordPress plugin.

The plugin works out of the box, and there are no settings for you to configure.

Once activated, simply create a new WordPress page where you want to display your recent comments. In the content area, you need to add this shortcode:

[decent-comments/]

If you preview the page, then you will see 5 recent comments with user avatar and comment excerpt.

The Decent Comments shortcode comes with a handful of parameters which will allow you to customize the shortcode to meet your needs.

For example, you can change the number of comments and avatar size using a shortcode like this:

[decent-comments number="30" avatar_size="64" /]

In this example, number and avatar_size are the shortcode attributes and 30 and 64 are their values. This means that it will now show 30 comments and will use 64 pixels for avatar image size.

A recent comments page on a WordPress site

You can check out this plugin’s documentation page for a full list of shortcode parameters that you can use.

To adjust the visual appearance of your recent comments, you may need to add Custom CSS. If you don’t know CSS, then you may want to check out CSS Hero it allows you adjust CSS in any WordPress theme without writing a single line of code.

That’s all we hope this article helped you create a recent comments page in WordPress. You may also want to see our guide on how to turn off or disable comments in WordPress pages.

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.

The post How to Create a Recent Comments Page in WordPress appeared first on WPBeginner.

How to Show Recent Comments in WordPress Sidebar

Are you looking to add recent comments in your WordPress sidebar? Recently, one of our readers asked if we could cover how to display recent comments in WordPress. That’s why in this article, we will show you how to easily show recent comments in WordPress… Read More »

To leave a comment please visit How to Show Recent Comments in WordPress Sidebar on WPBeginner.

Are you looking to add recent comments in your WordPress sidebar? Recently, one of our readers asked if we could cover how to display recent comments in WordPress. That’s why in this article, we will show you how to easily show recent comments in WordPress sidebar or other widget-ready areas.

Recent Comments in WordPress

Method 1: Default Recent Comments Widget in WordPress

WordPress comes with a built-in ready to use recent comments widget which you can add to your sidebar.

Simply go to Appearance » Widgets and add Recent Comments widget to your sidebar.

The default WordPress recent comments widget

You can provide a widget title and choose the number of comments you want to display. Next click on the save button to store your widget settings.

Now you can visit your website to see the recent comments widget in action.

Preview of default recent comments widget

Method 2: A Better Recent Comments Widget in WordPress

As you can see that the default recent comments widget only shows comment author name and post title. There is not much information about the comment itself which makes it look very plain.

Here is how you can add a better recent comments widget to your WordPress sidebar.

First thing you need to do is install and activate the Decent Comments plugin. Upon activation, simply visit Appearance » Widgets page and add Decent Comments widget to a sidebar.

Decent comments widget settings

Decent Comments widget comes with a lot of different options. Among these options, you will find the option to display comment author avatar and comment excerpt.

WordPress uses Gravatar to automatically display a comment author’s avatar image. See our guide on Gravatar and why you should start using it right away.

You can define the size of comment author’s gravatar image as well as the excerpt length. This gives you control on how the recent comments appear in the widget.

Show comment author avatar and excerpt

Don’t forget to click on the save button to store your widget settings.

Now visit your website to see the recent comments with author images in action.

Recent comments widget with author gravatar thumbnails and comment excerpt

You can adjust the appearance of recent comments by editing CSS in your theme or child theme. You can also use CSS Hero plugin which allows you to change appearance of any element on your site without writing any CSS or HTML.

We hope this article helped you show recent comments in sidebar of your WordPress blog. You may also want to see our guide on how to improve WordPress comments with De:comments.

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.

To leave a comment please visit How to Show Recent Comments in WordPress Sidebar on WPBeginner.