How to Disable the 'Website' Field in Comments Form?

You can remove the 'website' field from the comment form to combat spam. Simply use the following code snippet: 

function gd_disable_comment_url($fields) { 
	unset($fields['url']);
	return $fields;
}
add_filter('comment_form_default_fields','gd_disable_comment_url');

You can use the Code Snippets free WordPress plugin to paste the above snippet. 

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us