Home › Forums › Support › How to change comment form placeholders? This topic has 18 replies, 5 voices, and was last updated 5 years, 2 months ago by Leo. Viewing 4 posts - 16 through 19 (of 19 total) ← 1 2 Author Posts July 18, 2018 at 6:20 pm #627066 Rizki Hi all, I tried the code and nothing has changed, is there something wrong with my code ? add_filter( 'comment_form_default_fields', 'tu_adjust_comment_form_fields' ); function tu_adjust_comment_form_fields( $fields ) { return array( 'author' => '<label for="author" class="screen-reader-text">' . esc_html__( 'Name', 'generatepress' ) . '</label><input placeholder="' . esc_attr__( 'Nama Lengkap', 'generatepress' ) . ' *" id="author" name="author" type="text" value="' . esc_attr( $commenter['comment_author'] ) . '" size="30" />', 'email' => '<label for="email" class="screen-reader-text">' . esc_html__( 'Email', 'generatepress' ) . '</label><input placeholder="' . esc_attr__( 'Email Aktif', 'generatepress' ) . ' *" id="email" name="email" type="email" value="' . esc_attr( $commenter['comment_author_email'] ) . '" size="30" />', ); } I apply it in https://panduanesia.com July 18, 2018 at 6:30 pm #627071 LeoStaff Customer Support Try this: https://generatepress.com/forums/topic/comment-fields-placeholders/#post-585194 July 18, 2018 at 6:32 pm #627073 Rizki Thanks Leo, it’s work ๐ July 18, 2018 at 6:42 pm #627074 LeoStaff Customer Support No problem ๐ Author Posts Viewing 4 posts - 16 through 19 (of 19 total) ← 1 2 You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In