This is searchable archive of our old support forums, which operated from 2012 - 2016. To find out how to get support for your current theme, please visit our support page.

Reply To: Remove the website field in Comment Form

#1077
Jason Bobich
Keymaster

Arguments passed into WordPress’s comment_form function are filtered with “themeblvd_comment_form” — And you can find their default setup by the framework by looking at the function themeblvd_get_comment_form_args found in this file:

/framework/frontend/functions/helpers.php

And here’s how you’d use it to remove the Website URL field from your Child theme’s functions.php:

function my_comment_form( $args ){
	unset( $args['fields']['url'] );
	return $args;
}
add_filter( 'themeblvd_comment_form', 'my_comment_form' );