Apart from the good answer by John, I use a more straight forward solution, that allows me more control over the comment form and its fields.
By default, your theme's comments.php
(Twenty Eleven's, for example) may have something like this — <?php comment_form(); ?>
Now, using <?php comment_form(); ?>
is the same as:
<?php
$args = array(
'fields' => array(
'author' => '<p class="comment-form-author">' . '<label for="author">' . __( 'Name' ) . '</label> ' . ( $req ? '<span class="required">*</span>' : '' ) .
'<input id="author" name="author" type="text" value="' . esc_attr( $commenter['comment_author'] ) . '" size="30"' . $aria_req . ' /></p>',
'email' => '<p class="comment-form-email"><label for="email">' . __( 'Email' ) . '</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>',
'url' => '<p class="comment-form-url"><label for="url">' . __( 'Website' ) . '</label>' .
'<input id="url" name="url" type="text" value="' . esc_attr( $commenter['comment_author_url'] ) . '" size="30" /></p>',
);
);
comment_form( $args );
?>
The only difference, AFAIK, is that the longer version gives you more flexibility. As in your case, you don't want to show the website field. So, you simply remove the url
parameter in the fields
array, and the end result is this:
<?php
$args = array(
'fields' => array(
'author' => '<p class="comment-form-author">' . '<label for="author">' . __( 'Name' ) . '</label> ' . ( $req ? '<span class="required">*</span>' : '' ) .
'<input id="author" name="author" type="text" value="' . esc_attr( $commenter['comment_author'] ) . '" size="30"' . $aria_req . ' /></p>',
'email' => '<p class="comment-form-email"><label for="email">' . __( 'Email' ) . '</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>',
);
);
comment_form( $args );
?>
...which is what you need.
Recommended Reading: WordPress Codex Function Reference / comment_form
Source File: (trunk version — most current) http://core.svn.wordpress.org/trunk/wp-includes/comment-template.php