Removing "Website" field on comment form

  • Unknown's avatar

    Hi! I’m trying to remove the field for a “Website” on my site’s comment forms. I have tried downloading the Comment Link Remove plugin (which was also what WP support suggested) and it didn’t work, and I have also tried installing the Code Snippet plugin and entering the following code:
    add_filter(‘comment_form_default_fields’, ‘unset_url_field’);
    function unset_url_field($fields){
    if(isset($fields[‘url’]))
    unset($fields[‘url’]);
    return $fields;
    }

    Along with a couple others I found when I tried using Google to solve the problem. I’m not very code-savvy so any help would be greatly appreciated!

    The blog I need help with is: (visible only to logged in users)

  • Hi there,

    You have posted in the support forums for free sites on WordPress.com. We’re not able to help with custom code or third party plugins in this forum, same as live chat, as we’re still WordPress.com :)

    For help with that plugin, please contact their support directly at https://wordpress.org/support/plugin/comment-link-remove/. You’ll need to register a profile on WordPress.org before you can post there, as your WordPress.com account credentials won’t work there.

    And for help with custom code snippets for this type of change you can ask in the advanced WordPress forum at https://wordpress.org/support/forum/wp-advanced/

  • The topic ‘Removing "Website" field on comment form’ is closed to new replies.