I found this information here.
To add more contact information to a WordPress user such as the user’s LinkedIn username add the following code to your functions.php file:
add_filter('user_contactmethods', 'my_user_contactmethods'); function my_user_contactmethods($user_contactmethods){ $user_contactmethods['linkedin'] = 'Linked In username'; $user_contactmethods['phone'] = 'Phone'; return $user_contactmethods; }
This gives me this in my user profile:
To remove fields from the user profile:
add_filter('user_contactmethods', 'my_user_contactmethods'); function my_user_contactmethods($user_contactmethods){ unset($user_contactmethods['yim']); unset($user_contactmethods['aim']); unset($user_contactmethods['jabber']); $user_contactmethods['linkedin'] = 'Linked In username'; $user_contactmethods['phone'] = 'Phone'; return $user_contactmethods; }
This gives me this in my user profile: