You may want to remove the URL field in the WordPress comments form due to the spammers who are using it to drop shady links, or readers feel compelled to fill it with garbage.  Add the following code in your current theme’s functions.php file to remove the url field from WordPress comment form.

function remove_url_fields($fields) {
    unset($fields['url']); // Removes URL Field
    return $fields;
}
/** Add Filter Hook */
add_filter('comment_form_default_fields', 'remove_url_fields');

 Reference:

You may also be interested in our other articles on add ‘nofollow’ to external links, allow more tags in comments, disable auto generated paragraph tags and nofollow wordpress tag cloud.

Leave a Reply