Get Threaded Comments on your Blog

Wanna track conversations in a blog post? Sometimes people keep on commenting and once you comment, you realize the person you were responding to and your comment post are far away and its too difficult to track conversations that way.

Here comes a solution known as threaded comments. Threaded comments mean the comment you reply to comes just above your comment regardless of the fact whether there are so many comments posted before you.

There are several plugins available in WordPress to achieve Threaded Comments which include Brian’s Threaded Comments and YATCP(Yet Another Threaded Comments Plugin).

Brian’s plugin is very popular but somehow I don’t like it since its still very buggy. It does not recognise blog author and still shows complete comment form. This bug was left out even when it was reported before the last release. Secondly There is litterally no support at its forums. And lastly and the major reason why I don’t like it is that its too difficult to implement with your wordpress theme. And this is because it does not even use a single line of standard comment form which includes the likes of <ol id=”commentlist”>. It uses a entirely different structure which makes it all the more difficult. Also it replaces the default comment file in your theme which gets messy if you forget to take backup of original comments file.

Overcoming almost all the shortcomings of Brian’s plugin, comes YATCP plugin. It does not alter or overwrites your themes’s comment file. All it requires a single change in Single post file of theme. If you don’t like the plugin revert back the line. Editing this plugin to be compatible with your theme is too simple. Just open yatcp_comments.php in the plugin and do the simple edits comparing your default comments.php file. One important note, whatever change you make in yatcp_single-comment.php make sure you make the same changes in yatcp_single-comment-nonest.php otherwise it can be a bit messy.

TIP: A very useful tip to make your job even simpler. Don’t use the yatcp_style.css provided with the plugin. You can easily override this style. To do this open yatcp_comments.php and replace the line
[html]<link href="<?php echo(get_bloginfo(‘url’).’/wp-content/plugins/yatcp/yatcp_style.css’);?>" rel="stylesheet" type="text/css" />[/html]
with this line
[html]<link href="<?php echo(get_bloginfo(‘url’).’/wp-content/themes/<YOUR THEM>/style.css’);?>" rel="stylesheet" type="text/css" />[/html]
This will make job more easier as it will use the default comment styling. And don’t forget to replace the yatcp_ style names in comment files from plugin folder.

Download Latest version of YATCP from here. I am also using this plugin now. 😀


  1. Great tip. I dislike threads that are hard to follow. Makes you wonder if you should be posting on the author or the last person to leave a comment. YATCP seems like a good tool

  2. Excellent! I’ve just started having problems with my comments, people can’t see them, the names and everything are there but the words aren’t. I think it’s only in IE6 that this happens (if someone could check for me that would be sweet). Anyway, I’ll try your solution! Thank you! :whistle:

  3. I had wondered if there was a way to do threading! Now you’ve made it easy! Great! Thanks for sharing!

  4. I think threading can really help sometimes make it easier to follow the conversation in the comments.

  5. So i was not the only guy who had that problem. 😀 I will be sure to take that code and am sure it will save me time and more important frustration

  6. I frequent a lot of sites that have the threading ability and it’s great because it doesn’t let the conversation stray too far away from the main topic. It’s good for both comment-ors and blog hosts.

  7. This should clearly solve those misunderstood weird threads that have no particular order. Thank you!

  8. Thanks a lot for this information, that what i was looking for to do in my blog but, I didn’t know what was the term for it. Well now i know and thanks for the tips. 🙂

  9. Just put the gravatar plugin code in same place in yatcp_comments.php where you used to put in default comments.php

  10. This is great! I’m using yatcp right now. I have a question though. Is there a way to incorporate gravatars into the yatcp_comments.php file?

  11. Thanks a lot for this information, that what i was looking for to do in my blog but, I didn’t know what was the term for it. Well now i know and thanks for the tips.

Comments are closed.