View Single Post
Old 09-27-2013, 01:41 AM  
nexcom28
So Fucking Banned
 
Join Date: Jan 2005
Posts: 3,716
This didn't do anything at all..

Quote:
Originally Posted by Manfap View Post
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 View Post
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?
nexcom28 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote