I have a custom child theme of Twenty Twelve.

I want to change the text "Leave a reply" to "Leave a comment", and also remove the website field from the comments form.

How can I do this? Thanks.

  • Just for your information as well, have a look at one of my answers here May 11 '14 at 5:48

You can use filters in custom functions to modify the default output of the comments form via your child themes functions file.

Modify the comment form "Leave a reply" text.

add_filter( 'comment_form_defaults', 'wpsites_modify_comment_form_title' );
function wpsites_modify_comment_form_title( $defaults ) {
$defaults['title_reply'] = __( 'Leave a Comment' );
return $defaults;

Remove The Website URL Field From Comment Form

add_filter('comment_form_default_fields', 'wpsites_remove_website_url_field');
function wpsites_remove_website_url_field($fields) {
return $fields;

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.