Public Ticket #208219
Removing fields from form


  • Nikitha started the conversation

    I want to remove the field 'Website' from the user comments form under single article pages. Please refer the attachment to see what I am refering to. I tried searching on the files for the code to remove the field, but could not find it. Could you please point me to the file I need to look at to remove the field. Thanks

  •  326
    Brian replied

    Get rid of line 71 in the comments.php file

    $fields['website'] = '<input id="url" class="input-block-level" name="url" type="text" value="' . esc_attr( $commenter['comment_author_url'] ) . '" placeholder="'.__('Website (optional)',IT_TEXTDOMAIN).'" />';


  • Nikitha replied

    It worked! Thank you