New Comment Features

Just thought I’d share the news (and code) of two new comment features that I’ve added to my blog.

The first is auto-scrolling to your comment after you post it. It works on themes where each comment has an id or link. If you’d like to add it to your blog, check out this thread on the WordPress support forums.

The other new feature is the ability to edit your comments for 30 minutes. Ever posted a comment only to realize that you made a spelling mistake or whatnot? Well now you can fix it.

This feature came out of a thread that I made on the WordPress forums where I was coming up with ideas for the feature. I had originally planned to code it myself (and after looking at the resulting code, I could have), but jalenack got to it before I could. It ended up working out for the best though since he accomplished the feature in a much more elegant way than I would have (he didn’t use any custom forms or anything).

Anyway, you can test out both features in the comments area of this post. Just click the comments link below. 🙂

4 thoughts on “New Comment Features

Comments are closed.