WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I would like to remove "leave a reply" in the comment form in twenty eleven. How can I do this? Thanks in advance.

share|improve this question

You can filter the default comment_form arguments (which is what's causing the "leave a reply").

Just drop this in functions.php or in a plugin file. It would probably be better to put it in a plugin and keep your twenty eleven theme unedited (read: easily updated).

add_filter( 'comment_form_defaults', 'wpse33039_form_defaults' );
function wpse33039_form_defaults( $defaults )
    $defaults['title_reply'] = '';
    return $defaults;
share|improve this answer

edit comments.php, and find: comment_form();

edit to: comment_form(array('title_reply'=>''))

share|improve this answer

protected by Community Apr 24 '13 at 8:33

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

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