Replies: 0
I was using the code below to remove the URL part from the comment form.
function jlwp_disable_comment_url($fields) {
unset($fields['url']);
return $fields;
}
add_filter('comment_form_default_fields','jlwp_disable_comment_url');
I still use it. But I noticed something. When I switch to the child theme, I need to add it to the parent theme for this code to work.
While using this code in the Child theme, I noticed that the website field is still visible in the comments section. It was fixed when I deleted the code from here and added it to the parent theme.
What would you say about it?