Title: change comment labels
Last modified: September 1, 2016

---

# change comment labels

 *  [andymc82](https://wordpress.org/support/users/andymc82/)
 * (@andymc82)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/change-comment-labels/)
 * The following code works to change the reply title and submit button, but i cant
   seem to change the label for Name and Email…any ideas what i should specify here?
 *     ```
       $comments_args = array(
               // change the title of send button
               'label_submit'=>'Post comment',
               'email' => '<p class="comment-form-email"><label for="email">' . _x( 'E-mail:', 'domainreference' ) . '</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>',
               // change the title of the reply section
               'title_reply'=>'Leave a reply',
                 // redefine your own textarea (the comment body)
               'comment_field' => '<p class="comment-form-comment"><label for="comment">' . _x( 'Comment: *', 'noun' ) . '</label><br /><textarea style="height:100px;" id="comment" name="comment" aria-required="true"></textarea></p>',
       );
   
       comment_form($comments_args);
       ```
   

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [Lucas Karpiuk](https://wordpress.org/support/users/karpstrucking/)
 * (@karpstrucking)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/change-comment-labels/#post-7466454)
 * The `'email'` item needs to be moved to the `'fields'` item: [https://codex.wordpress.org/Function_Reference/comment_form#.24fields](https://codex.wordpress.org/Function_Reference/comment_form#.24fields)
 *  Thread Starter [andymc82](https://wordpress.org/support/users/andymc82/)
 * (@andymc82)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/change-comment-labels/#post-7466522)
 * You mean to create a $fields arrya? can you give me an example as the documentation
   dosent make sense to me in this scenario.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘change comment labels’ is closed to new replies.

## Tags

 * [comment](https://wordpress.org/support/topic-tag/comment/)
 * [comment reply](https://wordpress.org/support/topic-tag/comment-reply/)
 * [Comments](https://wordpress.org/support/topic-tag/comments/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [andymc82](https://wordpress.org/support/users/andymc82/)
 * Last activity: [9 years, 10 months ago](https://wordpress.org/support/topic/change-comment-labels/#post-7466522)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
