Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $custom_comment_form = array( 'fields' => apply_filters( 'comment_form_default_fields', array(
- 'author' => '<div class="form_fields"><p class="comment-form-author">' .
- '<input id="author" name="author" type="text" value="' .
- esc_attr( $commenter['comment_author'] ) . '" size="30"' . $aria_req . ' class="required" />' .
- '<label for="author">' . __( 'Имя' , 'wpzoom' ) . '</label> ' .
- ( $req ? '<span class="required_lab">*</span>' : '' ) .
- '</p>',
- 'email' => '<p class="comment-form-email">' .
- '<input id="email" name="email" type="text" value="' . esc_attr( $commenter['comment_author_email'] ) . '" size="30"' . $aria_req . ' class="required email" />' .
- '<label for="email">' . __( 'Email' , 'wpzoom' ) . '</label> ' .
- ( $req ? '<span class="required_lab">*</span>' : '' ) .
- '</p>',
- '</p></div><div class="clear"></div>') ),
- 'comment_field' => '<p class="comment-form-comment">' .
- '<textarea id="comment" name="comment" cols="35" rows="8" aria-required="true" class="required"></textarea>' .
- '</p><div class="clear"></div>',
- 'logged_in_as' => '<p class="logged-in-as">' . sprintf( __( 'Logged in as <a href="%1$s">%2$s</a>. <a href="%3$s">Log out?</a>' ), admin_url( 'profile.php' ), $user_identity, wp_logout_url( apply_filters( 'the_permalink', get_permalink( $post_id ) ) ) ) . '</p>',
- 'title_reply' => __( 'Добавить комментарий' , 'wpzoom' ),
- 'cancel_reply_link' => __( 'Cancel' , 'wpzoom' ),
- 'label_submit' => __( 'Отправить' , 'wpzoom' ),
- 'comment_form_after' => '<div class="clear"></div>',
- );
- comment_form($custom_comment_form);
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement