Edit Contact Info Fields In User Profile

Edit Contact Info Fields In User Profile

Daily Tip: Edit Contact Info Fields In User ProfileWe all love WordPress.

Well, at least I imagine that we do – if you hate WordPress, then you may want to ask yourself why you’re here. Maybe you’re some kind of masochist who gets kicks out of reading tips about a content management system that they hate.

Sorry – I’ve wandered a bit off topic. What I was going to say is that we all love WordPress – but it does turn up some oddities at time.

Take the User Profile screen for example. Can someone please explain to me why WordPress thinks that the primary means of communication these days include AIM, Yahoo IM and Jabber?

User Profile Contact Info

Fortunately, there is a very quick and easy way of editing and adding to the fields you see above.

Let’s say that we wanted to get rid of the last three fields, and put in a Facebook and Twitter field. Just head over to your functions.php file and include the following:

function new_contactmethods( $contactmethods ) {
$contactmethods['facebook'] = 'Facebook';
$contactmethods['twitter'] = 'Twitter';

return $contactmethods;


As you can probably figure out, the variable $contactmethods defines new fields, and applying unset to a field removes it. So simple, even I could do it!

Creative Commons photo courtesy of Markusram