Remove Website field from Post comments

With the Beaver Builder Theme, using a plugin to remove the Website (URL) field from your Post comments may not work.

The best way to remove it is to add this filter to your Beaver Builder child theme's functions.php file.

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

Be sure to add this code to the function.php file in your child theme or else the code can be overwritten in future theme updates.

Last updated on