|
@@ -118,7 +118,17 @@ if ( ! comments_open() && get_comments_number() && post_type_supports( get_post_
|
|
|
?>
|
|
|
<div id="pen_respond_wrapper" class="<?php pen_class_animation( 'comments' ); /* phpcs:ignore */ ?>">
|
|
|
<?php
|
|
|
-comment_form();
|
|
|
+$fields=array(
|
|
|
+ 'author' => '<p class="comment-form-author">' . '<label for="author">' . __( 'Name' ) . '</label> ' . ( $req ? '<span class="required">*</span>' : '' ) .
|
|
|
+ '<input id="author" name="author" type="text" value="' . esc_attr( $commenter['comment_author'] ) . '" size="30"' . $aria_req . ' /></p>',
|
|
|
+ 'email' => '<p class="comment-form-email"><label for="email">' . __( 'Email' ) . '</label> ' . ( $req ? '<span class="required">*</span>' : '' ) .
|
|
|
+ '<input id="email" name="email" type="text" value="' . esc_attr( $commenter['comment_author_email'] ) . '" size="30"' . $aria_req . ' /></p>',
|
|
|
+ 'url' => "",
|
|
|
+ );
|
|
|
+$defaults=array(
|
|
|
+ 'fields'=> apply_filters( 'comment_form_default_fields', $fields ),
|
|
|
+);
|
|
|
+comment_form($defaults);
|
|
|
?>
|
|
|
</div>
|
|
|
</div><!-- #comments -->
|