Update custom-comments.php
This commit is contained in:
parent
9b13c988d8
commit
ed7b02ca2f
|
@ -22,7 +22,7 @@
|
||||||
add_filter( 'comment_form_defaults', 'bootstrap3_comment_form' );
|
add_filter( 'comment_form_defaults', 'bootstrap3_comment_form' );
|
||||||
function bootstrap3_comment_form( $args ) {
|
function bootstrap3_comment_form( $args ) {
|
||||||
$args['comment_field'] = '<div class="form-group comment-form-comment">
|
$args['comment_field'] = '<div class="form-group comment-form-comment">
|
||||||
<label for="comment">' . _x( 'Comment', 'noun', 'understrap' ) . '</label>
|
<label for="comment">' . _x( 'Comment', 'noun', 'understrap' ) . ( ' <span class="required">*</span>' : '' ) . '</label>
|
||||||
<textarea class="form-control" id="comment" name="comment" cols="45" rows="8" aria-required="true"></textarea>
|
<textarea class="form-control" id="comment" name="comment" cols="45" rows="8" aria-required="true"></textarea>
|
||||||
</div>';
|
</div>';
|
||||||
return $args;
|
return $args;
|
||||||
|
|
Reference in New Issue