Its getting impossible for me now to remove website field from wordpress dashboard Add User page. Someone please suggest something??
Maybe this can help you:
function hide_website_krotedev(){
echo "\n" . '<script type="text/javascript">jQuery(document).ready(function($) {
$(\'label[for=url], input#url\').hide();
});
</script>' . "\n";
}
add_action('admin_head','hide_website_krotedev');
If you want to remove the Twitter field in the user profile then you should add the following code to your functions.php file.
function modify_contact_methods($profile_fields) {
// Remove profile fields
unset($profile_fields['twitter']);
return $profile_fields;
}
add_filter('user_contactmethods', 'modify_contact_methods',10,1);
Unfortunately there's no easy way to remove the Website field at this time, you can always hide it with jQuery but that's a bit messy of course.
I hope that helps, also check out the stackexchange website for WordPress questions here: http://wordpress.stackexchange.com
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With