WordPress.org

Ready to get started?Download WordPress

Forums

how to remove website field from comment form (2 posts)

  1. adieu
    Member
    Posted 2 years ago #

    I would like to eliminate the "website" field from my comment form in twenty eleven.

    I found a plugin here but it doesn't work for me.

    I assume I must edit comments.php but not sure how. Any help is much appreciated.

  2. Avinash_Kumar
    Member
    Posted 2 years ago #

    Go to wp-content\themes\suffusion\comments.php file

    suffusion is my theme name , you should go to your respective theme folder

    find this block of code

    comment_form(apply_filters('suffusion_comment_form_fields', array(
    'fields' => array(
    'author' => $author_field,
    'email' => $email_field,
    // 'url' => $url_field, // comment this field
    ),

    and just comment the url field .

    you can check [site] for reference

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.