وەسف
This plugin will integrate AJAX commenting feature into your WordPress Blog. It uses the powerful JavaScript Framework jQuery to handle AJAX requests and jQuery Validation plugin by bassitance.de to validate comment form on the client side.
Feature Summary
- Enable AJAX Commenting
- Client Side Form Validation
- Easily rolls back if JS disabled
- Easily configure custom styles for messages
دامەزراندن
- Extract the plugin into wp-content/plugins directory of your WordPress blog
- Activate the plugin
- If you wish to enable client side validation, refer to FAQ.
پهد
- How do i enable client side JavaScript validation?
-
Since this plugin uses jQuery Validation plugin, you need to add some CSS classes to your comment form in your WordPress Theme. Open comments.php file of your theme file and find out the comment form in it.
Now add following CSS classes to various input boxes:- To the Author textbox, add attribute class=”required”
e.g. if your Author textbox looks like
<input type="text" name="author" id="author" value="” size=”35″ tabindex=”1″ />
then make it
<input type="text" name="author" id="author" value="” class=”required” size=”35″ tabindex=”1″ />
or if you already have some class associated, like class=”foo” in it, then make it class=”foo required” - Similarly, To the Email textbox, add attribute class=”email required”
- To the URL textbox, add attribute class=”url”
- To the comment textarea, add class=”required”
- If you need to change styles for error messages, refer to Q 2 below.
- That’s it, you are done adding JS validation to your comment form.
- To the Author textbox, add attribute class=”required”
- How do i change CSS styles of the notifications?
-
To change styles, you need to create a file named wdp-ajax-styles.css within your theme directory and define styled for .wdpajax-error, .wdpajax-success, label.error classes.
.wdpajax-error is used to display message when there is some problem submitting the comment
.wdpajax-success is used to display success message on successfull comment posting
label.error is used for error message that pop up as a result of invalid form dataFor more details, visit plugin page
پێداچوونەوەکان
هیچ پێداچوونەوەیەک نەنووسراوە بۆ ئەم پێوەکراوە.
بەشداربووان و گەشەپێدەران
“WDP AJAX Comments” نەرمەواڵەیەکی سەرچاوە کراوەیە. ئەم کەسانەی خوارەوە بەشدارییان تێدا کردووە.
بەشداربووان“WDP AJAX Comments” وەربگێڕە بۆ زمانەکەی خۆت.
دەتەوێت بەشداربیت لە گەشەپێدان؟
گەڕان لە کۆدەکەدا بکە، سەیری تەمارگەی (SVN) بکە، یان بەشداربە لە ڕووداوتۆماری گەشەپێدان لە ڕێگەی (RSS).
ڕووداوتۆمارگەریی گۆڕین
Version 1.0.8
Improved error notification