Home » WordPress » Blog article: Would You Like a Reply to Your Comment?

Would You Like a Reply to Your Comment?

By Ronald Huereca on Mar 22, 2009.

One of the things I’ve constantly struggled with is replying to comments.

Sometimes a post is old, and someone decides to leave an off-hand comment. Do I reply, or just leave it be?

Or, someone has made a well-versed comment, but all I can think of is, “Nice comment.”

I’ve created some code (if you’re using WordPress) that takes the guess work out of this. If a reader would like a reply, they can explicitly say so.

The Concept

Right below the comment form is a drop-down box that lets the reader choose if they desire a reply or not.

Once they leave the comment, you are sent a normal comment e-mail with the reader’s preference included.

Here are some screenshots to demonstrate:

Reply to Comments Screenshot
On a Blog

reply-comment-email.jpg
In Your E-mail

You can also view live implementations here:

The Code

The code is rather simple, so I’m not going to release it as a plugin.

All you’re required to do is insert the code into your WordPress theme’s functions.php file.

Here is a download link.

When viewing the source, you can customize the IDs (for CSS), as well as text.

If customizing, be sure that the “SELECT” tag ID/Name matches the ID in line 13 of the code.

Conclusion

Giving the reader the option to weigh in on his/her preference is a concept I have yet to see elsewhere.

Please feel free to try it out and/or weigh in here on your thoughts.

 

Related Articles

30 Comments »

  1. Actually, you should convert this into a plugin ;)

    Not everybody knows how to edit their functions.php

    Comment by Ajay — March 22, 2009 @ 12:20 am

  2. I really like this concept and I also think that this is the first implementation of its kind online. The ethical dilemma of whether or not one is obligated to respond to a comment, or if a commentor should expect a response, is greatly affected, and in a good manner too, by this simple form of asking what a commentor wants and getting an answer. :)

    Now comes the next question: which options [yes or no] should be selected by default? Yes, that’s the next big thing to think about now. :) [off to think]

    Comment by Bes — March 22, 2009 @ 12:24 am

  3. @Ajay,

    I suppose if there is enough demand for it, I’ll release it. Since there’s so much customization required though, I’m not sure if it’ll be worth it.

    @Bes,
    Same dilemma as the “subscribe to comments” checkbox option. In my opinion, it should be opt-in.

    Comment by Ronald Huereca — March 22, 2009 @ 12:26 am

  4. Way too much styling/customization required to implement this for a plugin. Just my opinion. :shock:

    While I probably don’t need to implement this, I like your idea to tweak the functions.php file for ideas like this. If you’re savvy enough to need this, you should be able to customize your functions.php file and style your theme as well. Or at least judge whether the amount of styling required is worth the functionality.

    Comment by John P — March 23, 2009 @ 1:11 pm

  5. John, thanks for the comment. :) I like that idea too as it allows less tweaking in the other theme files. As long as we can control the exact location of custom functions, I am very happy to focus on the functions file only [sort of like having header/footer files and the legendary .shtml files compared to the pre-trends].

    Comment by Bes — March 23, 2009 @ 7:31 pm

  6. That’s very considerate, but not really necessary in my opinion. As you say, there are some comments you just can’t answer even if the commenter ticks a box saying they want a response. I’m not sure the majority of people really expect one anyway, unless they’re asking a direct question.

    Comment by Lbug - Dubai Dreams Blog — March 27, 2009 @ 3:27 pm

  7. I should add that, ironically enough, I always respond to all my comments. But then I don’t have too many to worry about so it doesn’t take much.

    Comment by Lbug - Dubai Dreams Blog — March 27, 2009 @ 3:29 pm

  8. This is wonderful – thanks! I do have a question though – I notice in the screenshot above, as well as on the blogs linked to, this is positioned above the “Submit” (or Leave Comment) button – did you do this by modifying the comments.php template file instead of putting it in your functions.php?

    Comment by Trisha — March 30, 2009 @ 1:14 pm

  9. Hey Trisha :)

    That “Submit”/”Leave Comment” text is from the comments.php template file, yes. :) Since the “Would you like a reply to your comment” code is in the functions.php file [it can also be in the comments.php file or as a plugin], it takes some of the style inheritance from the comments.php template file.

    I love that avatar, btw.

    Comment by Bes — March 30, 2009 @ 1:39 pm

  10. Thanks!

    Comment by Trisha — March 30, 2009 @ 1:40 pm

  11. That,s nice thanks for the way.

    Comment by xjeem — March 30, 2009 @ 11:43 pm

  12. Hey Lbug, how’s it going? Thanks for commenting. Sorry I forgot to respond to you:

    Yes, it is something that can be unnecessary if there are some other measures or ideas in place. At the same time, it can be something to allow more cushion when it comes to replying and the idea of an obligation. For example, if someone commits to responding to all comments, then this method of asking every commentor [whether or not they want a response] can be a transition phase to go from commenting to everything, which may not be fruitful in the eyes of that reply-commentor, to commenting to the commentors that think a response would be nice.

    I personally also [try] respond to each and every comment [directly, email, im, etc] and this method can be a good step to move from that to something else.

    All of this will be discussed in within the next week in an upcoming article that I am working on. :)

    Comment by Bes — April 1, 2009 @ 8:58 pm

  13. if it prove to valuable i will respond …….

    otherwise i will leave it

    Comment by un-boxed — April 2, 2009 @ 4:00 pm

  14. And it’s really a good idea!
    If You want to hear something – You notify about that!
    Thanks for script!

    Comment by Razvitie Usluga — April 7, 2009 @ 2:50 am

  15. This is a pretty good idea. If someone just drops by and probably won’t be back he won’t care about your answer. If someone asks a constructive question you should actualy answer it.

    Comment by netrostar.com — April 15, 2009 @ 2:45 am

  16. This should be converted to a plugin, please :shock:

    Comment by Frederik — April 18, 2009 @ 1:20 pm

  17. [...] website commentor the choice to specifically tell a website owner whether or not that specific commentor would like a comment response. I call it the RA Project Comment Response Choice Idea. I wonder about the effect of this idea on [...]

    Pingback by Comment Response Choice: A Step Backward? | The Reader Appreciation Project — April 18, 2009 @ 6:08 pm

  18. Hi,

    Interesting and involving comments help to get response from reader.

    Comment by Steve — May 21, 2009 @ 11:18 pm

  19. Nice to read your blog Ronald, yes I agree with you that anybody will like to see a good comment on their blogs and we need to give them a feedback, that feels better…

    Comment by louis — June 18, 2009 @ 2:30 am

  20. Ronald/Bes

    I’m having a problem with this function – I get the following error message:

    “Fatal error: Cannot redeclare show_comment_reply_option_email() (previously declared in /homepages/8/d116188896/htdocs/TravelWritersExchange/wp-content/themes/TWE_Custom_200903/functions.php:33) in /homepages/8/d116188896/htdocs/TravelWritersExchange/wp-content/themes/TWE_Custom_200903/comments.php on line 119″

    So should I remove the declaration on line 119 of my comments.php file?

    Thanks!

    PS Is there a way to have the “this user would prefer a reply to their comment” appear elsewhere in the email? I want to be sure that Post Authors don’t overlook it at the end of the email……thanks!!

    Comment by Trisha — June 20, 2009 @ 11:41 am

  21. Hi Mr.Ronald, It is a great, If some one do the comments on your post get pretty intense, but I think it greatly encourages readership and involvement

    Comment by gorden — July 3, 2009 @ 12:46 am

  22. Woo Hoo! I was totally asking someone about this very subject earlier this week! Thank you! :)

    Comment by rexson — July 12, 2009 @ 9:27 pm

  23. Good post….this would be a good idea to reply on comments and thanks for the link…

    Comment by Frank — September 23, 2009 @ 4:15 am

  24. What tamplate do you use in your blog? Very interesting articles

    Comment by Frank — October 20, 2009 @ 7:46 am

  25. I would be interested to know what template you are using also??

    Comment by Wendy — October 21, 2009 @ 8:45 am

  26. I don’t think I would like to be able to have a reply to my comments. Maybe just one, but if they all come back to me I think it would be too bothersome.

    Comment by Pam — November 17, 2009 @ 4:23 pm

  27. I think that would not be necessary but the idea of asking your comment can be just fine. In my case I don’t think I need it.

    Comment by Felix — November 19, 2009 @ 3:12 pm

  28. I like that idea a lot. Sometimes people just want to make themselves heard, and don’t need a reply. Some might not even come back to your site after their post.

    In the end, I think it would make some readers feel good to be able to know that they saved someone else the time of making a thoughtful reply. We could all use a little more time.

    Comment by fisher — November 29, 2009 @ 8:13 am

  29. Yes, I would like to have a reply to my comments might should be able to share our idea (talk sense) Do you think it will be a great conversation?

    Comment by furacoua — December 2, 2009 @ 3:14 pm

  30. I doubt people come back after making a comment. Unless they are your hardcore readers. So I wouldn’t bother too much about responses.

    Comment by Denzel — December 13, 2009 @ 9:51 pm

RSS feed for comments on this post. TrackBack URL

Leave a comment