blog post comments

Recent posts and comments for WordPress

Recent posts and comments for WordPress

When I was writing the chapter about internal links for our ebook, I also mentioned Recent Posts and Recent Comments. But these subjects were mentioned only very briefly. It seems so logical to add these for any blog, that it didn’t seem necessary to use more than a page to explain these. But if it is common sense to me, is it to everyone? My post about Common sense for your website taught me it isn’t. And if it is for you, it won’t hurt to emphasize that common sense.

Optimize your site for search & social media and keep it optimized with Yoast SEO Premium »

Yoast SEO: the #1 WordPress SEO plugin Info

In this post I will discuss a number of common internal links that can easily be added via WordPress itself. Or any plugin that is created up for the purpose.

Recent posts

For any website with a blog, adding recent posts or a section with a selection of links to posts (examples listed below) can be a valuable asset. We do that on our website as well. It’s an easy way of telling your visitor:

  • about recent market developments;
  • about recently added information to your website that might be of interest for him or her;
  • about new products or services your company offers;
  • or simply to let your visitor know that you have a blog.

versatile recent postsThis section usually consists of a simple list of links. WordPress offers this functionality by default like shown in the image on the right (this is actually in our Versatile Theme). But to be honest, even if you are less technical, you can create a nice PHP snippet using the examples WordPress gives for the wp_get_recent_posts function. If you prefer shortcodes, I recommend Bill Ericksons’ Display Posts Shortcode plugin.

Just recently, I also started playing with this very customizable plugin called Recent Posts Widget Extended. This plugin is very customizable right from the Appearance > Widget section in WordPress. If you don’t want to use shortcodes in widgets and prefer a customizable recent posts widget, you should really try this plugin.

There are many variations to the recent posts links:

  • Related Posts: usually below the actual article. Very helpful for people that want to read related posts if they like (the subject of) your article.
  • Featured posts: link to your main posts, best read articles or posts that relate to recent market development, for instance by linking to the most recent posts in a category.

Besides that, in the previous examples you can of course replace ‘post’ with ‘products’, and all will make sense as well.

Recent comments

You have to think about this section. If you add a recent comments section and your last comment is dated 2013, that will immediately add an expire date to your website as well. Apparently you haven’t written anything interesting last year?

But if you have comments on all your posts (thank you, valued commenters on this website) and you write articles on a regular basis, the recent comments section will be very valuable. Comments allow for keyword variations, as a visitor might have used a different keyword than the one you are using over and over on your blog. Next to that, and more importantly, a recent comments section will show your visitor you have a vivid and engaging reader base. Meaning you must have something interesting to say.

Note that in most cases you want to limit the number of links on your page (we aim for max 50 links per page), so the link value per link will be best. That might be a reason to choose between recent posts or recent links in your sidebar. In that case I would recommend recent posts. The reason for that is simple: If you have a vivid blog, chances are all recent comment links will go to the same page :)

WordPress has a function for recent comments as well: get_comments. It’s highly customizable, by the way. It’s really easy to display for instance just the comments made in the last week. As I don’t have any experience with plugins that can help you with these recent comments, I’m looking forward to any suggestions you might have.

Like with the recent post alternatives, something similar to the recent comments could be recent reviews or testimonials. Both are user generated content of course. In a recent project I found this plugin for testimonials very useful. It adds schema.org, for instance. If you are looking for a nice way to add testimonials to your WordPress site, be sure to check it out. It’s a new kid on the block, only released in May 2014, but I really like it!

Closing thought

Recent posts and recent comments are valuable internal links for any website. There are many ways to add these and it isn’t that hard to do. If you feel people aren’t visiting or even finding the blog on your website, you should simply add a small widget to your sidebar and see the traffic grow!


19 Responses to Recent posts and comments for WordPress

  1. sly
    By sly on 10 December, 2014

    thanks for sharing this useful informations !!

  2. Nivel03
    By Nivel03 on 8 December, 2014

    Hi Michiel, great article!

    I never really active in the recent posts from today I turned on my blog, I hope you have all the benefits you mention in your article.

    Thank you !!

  3. Filipe Varela
    By Filipe Varela on 8 December, 2014

    Very good info. Thanks :)

  4. Nexa
    By Nexa on 8 December, 2014

    amazing info……not tried yet….but sure will try it

  5. Caitlyn
    By Caitlyn on 7 December, 2014

    It’s really a cool and helpful piece of info. I am happy that you shared this helpful info with us. Please stay us up to date like this. Thanks for sharing.

  6. Frank Fox
    By Frank Fox on 6 December, 2014

    Yep. Time has proven that regular updates are one of the keys to constant traffic. I also display the most recent posts from the RSS feed. I guess that the short description next to the link benefits the click through sometimes.

  7. Alex
    By Alex on 4 December, 2014

    Idea about the widget and comment is great, have to try it.

    Thanks yoast

  8. Colin Farrell
    By Colin Farrell on 3 December, 2014

    Good post ,thanks for useful information.

  9. Shriram Gupta
    By Shriram Gupta on 3 December, 2014

    good information… .Keep it up….

  10. Al Gomez
    By Al Gomez on 3 December, 2014

    I always make sure to install the Yoast plugin for my websites. It just feels incomplete without it. Thanks for sharing about the importance of frequent post updates and comments. I find both very important to show viewers we’re active and engaging as a company. More power to Yoast!

  11. Ammar Zeb
    By Ammar Zeb on 3 December, 2014

    Awesome response! I have recently shifted to WordPress and was looking for some information like that.

    It helped me a lot, thanks mate, you are amazing :)

  12. Teddy
    By Teddy on 3 December, 2014

    Thanks for sharing, Yoast!

  13. Dejan
    By Dejan on 2 December, 2014

    For those who do not know how to enable more comments at once has a plugin that works for me Bulk Management Comments

    • Michiel Heijmans
      By Michiel Heijmans on 3 December, 2014

      Nice, especially since some review plugins work with the comments in WordPress. Please note that if you want more control over where to enable/disable comments in bulk, you can also filter posts by search, and use the checkboxes in front of the post titles to bulk edit comments as well (use Edit in the drop down in the left upper corner above the table). If you want to show more posts per page for that, simply use the Screen Options tab in the upper right corner of WordPress.

  14. Abdur
    By Abdur on 2 December, 2014

    I like the recent post and recent comment for increase the pageviews.

  15. Josh
    By Josh on 2 December, 2014

    Looks like I’ll be updating the blog sidebar today! Thanks for the great pro tips once again.

  16. Cik TudungSiComel
    By Cik TudungSiComel on 2 December, 2014

    Thanks for the info. but, is it will slow down our site with so many widget placed? thanks

  17. Kjell Roger Eriksen
    By Kjell Roger Eriksen on 2 December, 2014

    Yet again. Thank you Yoast !


Check out our must read articles about Analytics