Mô tả
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.
Cài đặt
- 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
Hỏi đáp
Q: It’s not working?
A: Make sure the comment form div has the ID #commentform in your theme
Đánh giá
Người đóng góp & Lập trình viên
“Silk AJAX Comments” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.
Những người đóng gópDịch “Silk AJAX Comments” sang ngôn ngữ của bạn.
Muốn tham gia phát triển?
Duyệt code, check out SVN repository, hoặc theo dõi nhật ký phát triển qua RSS.
Nhật ký thay đổi
1.0
First release
- Everything works, i’ve tested accross a few websites, will update if needed.