This didn't do anything at all..
Quote:
Originally Posted by Manfap
add this to your functions file
Code:
add_filter('comment_form_default_fields', 'email_filtered');
function email_filtered($fields)
{
if(isset($fields['url'],$fields['email']))
unset($fields['url'],$fields['email']);
return $fields;
}
disable ?require email? in WP preferences aswell
|
Sorry, I misunderstood what you wrote, this did actually work. Thanks
Quote:
Originally Posted by nexcom28
If you read my post, I tried deleting the code but when a user tries to post a comment it generates an error.
I have tried a few options for hiding it, usually within the functions.php file. How do I hide it with CSS?
|