Description
This plugin gives you the flexibility to add Ajax handling for your comments to keep the page from having to refresh every post. The administration panel will allow you to customize your processing, success and error messages.
Additionally, this plugin gives you the option of setting up the WYSIWYG editor for comment submission as well. The admin panel will give you the option to show/hide various button groups for the editor and only allows basic editing capabilities. If logged in as administrator, you will still receive the full WYSIWYG editor for your commenting.
Installation
- Upload the
guahanweb-ajax-comments
folder to the/wp-content/plugins/
directory - Activate the plugin through the
Plugins
menu in WordPress - Be sure your template includes jQuery (preferably v1.7+)
- Make sure your comment form has the ID #commentform in your theme (this is default)
- If you choose to enable the WYSIWYG editor, you will need to make a slight modification to your comments.php file in your active theme directory:
5a. In the comments.php file, find the line that defines the textarea (“<p><textarea name=”comment” id=”comment” cols=”100%” rows=”10″ tabindex=”4″></textarea></p>”) 5b. Replace that line with the following code snippet:
<p><?php global $guahanAjaxCommentsPlugin; if (isset($guahanAjaxCommentsPlugin)) { $guahanAjaxCommentsPlugin->renderCustomCommentField(); } else { echo ‘<textarea name=”comment” id=”comment” cols=”100%” rows=”10″ tabindex=”4″></textarea>’; } ?></p>
The plugin can handle all the preferences from that point on.
Reviews
There are no reviews for this plugin.
Contributors & Developers
“GuahanWeb AJAX & WYSIWYG Comments” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “GuahanWeb AJAX & WYSIWYG 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