Description
Instead of taking you to a different page (wp-comments-post.php) which does not redirect this script just ads some quick text above your form to let your users know if there was an error or if the comment was posted successfully (if successful it then clears the form).
There are a few plugins that do a simliar thing to this already but unfortunately most of the current AJAX commenting solutions I found in the plugin directory havent been updated in years or just didn’t work, so following on from many “how to AJAX’ify your wordpress comments” blog posts I thought i’d make a simple plugin instead (which means no coding knowledge required).
The script chooses the #commentform div/form as this is default.
Ill update this plugin when needed but I do not offer any warranty or support for it.
Installation
- Upload the
silk_ajax_comments
folder to the/wp-content/plugins/
directory - Activate the plugin through the
Plugins
menu in WordPress - Make sure your comment form has the ID #commentform in your theme (this is default)
- ?????
- Profit
FAQ
Q: It’s not working?
A: Make sure the comment form div has the ID #commentform in your theme
Contributors & Developers
“Silk AJAX Comments” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “Silk AJAX Comments” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
1.0
First release
- Everything works, i’ve tested accross a few websites, will update if needed.