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 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.

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.

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.

Leave a Reply

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

error: Content is protected !!

Pin It on Pinterest

Add address