Daily Tip: Remove Extra Fields in the Default WordPress Profile
April 22, 2010
It’s easier to get your users to fill out their profile if they aren’t presented with a long form full of fields they probably don’t need. Here’s an example of removing the ones that people tend not to use. However, you can alter it to suit your users’ need. Add this to your functions.php file:
add_filter('user_contactmethods','hide_profile_fields',10,1); function hide_profile_fields( $contactmethods ) { unset($contactmethods['aim']); unset($contactmethods['jabber']); unset($contactmethods['yim']); return $contactmethods; }
This will give you a much simpler Contact Info area in your dashboard profiles:
Source: WP Beginner



Comments
Got something to say?