Top

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

Tweet This Post

Comments

Got something to say?

Bottom
Article Archive  |  This site is a historical archive of pressography.com, a WordPress plugin and theme blog that published between 2006 and 2012. It is preserved for reference and is not operated by, affiliated with, or endorsed by its original authors. Nothing here is for sale and no form on this site is active. If you are the original owner and would like this domain returned, please get in touch.