How to insert this submit button code on the comment form?


I want to customize the submit button on the contact form.

how to write this code on the comment form?
I already have the $args and the fields. just need to know how to put this original code on the $args and the fields. and many thanks in advance.

$comments_args = array(
            'id_form'               => 'main-contact-form',
            'class_form'            => 'contact-form',
            'fields'                =>  $fields,
            'comment_field' => '
                <div class="row"><div class="col-sm-9">                        
                    <div class="form-group">
                        <label>Message *</label>
                        <textarea name="message" id="message" required="required" class="comment-message" rows="8"></textarea>



<p class="form-submit">
 <input name="submit" type="submit" id="comment-reply" class="submit" value="send message"> 
 <input type="hidden" name="comment_post_ID" value="27" id="comment_post_ID">
 <input type="hidden" name="comment_parent" id="comment_parent" value="0">

social 4 months 0 Answers 11 views 0

Leave an answer