• Resolved inherentlydifferent

    (@inherentlydifferent)


    I’m trying to customize the comment area of the Twenty Ten 1.1 by the WordPress team template.

    Right now, when someone clicks on post link, they get the full post plus the comment form.

    The comment form title is “Leave a Reply” and i want to change it to “Leave a Comment” but I can’t seem to find where this text title resides. I have looked in the template comments.php as well as the wp-comments-post.php files to try to change that text…

    Can someone please point me in the right direction?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Chip Bennett

    (@chipbennett)

    You need to pass the title_reply argument in the $args variable passed to the comment_form() function.

    e.g. (untested):

    <?php
    $args = array(
         'title_reply' => 'Leave a Comment'
    );
    
    comment_form( $args );
    ?>

    Thread Starter inherentlydifferent

    (@inherentlydifferent)

    Thank you Chip!

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

The topic ‘Editing Comment Template?’ is closed to new replies.