comments_form
Attributes:
- isize="integer" • (X)HTML size attribute to be applied to (X)HTML form input output. Default is 25.
- msgcols="integer" • (X)HTML cols attribute to be applied to (X)HTML form textarea output. Default is 25.
- msgrows="integer" • (X)HTML rows attribute to be applied to (X)HTML form textarea output. Default is 5.
- msgstyle="value" • (X)HTML style attribute to be applied to (X)HTML form textarea output. Recommended that you use CSS via textarea's class or id attribute instead.
- form="form name" • Use specified form. Default is comment_form. See Form.
- show_preview="$has_comments_preview" • Defaulted to internal variable
- class="CSS class name" • (X)HTML class attribute to be applied to wraptag. Default is comments_form.
- wraptag="tag" • (X)HTML tag (without brackets) to wrap around output. Default is unset.
Behaviors:
The comments_form tag is a single tag which returns a comment form. Comments will be attached to the current individual article as a default.