Free Wordpress Blog Setup

How to Remove Default Author Profile Fields in WordPress

By Editorial Staff in Tutorials
How to Remove Default Author Profile Fields in WordPress

Upon the release of WordPress 2.9, we shared with you an article that shows you how to add fields like twitter and facebook to author profile page. In this article we will show you how you can remove unwanted default author profile fields to make WordPress admin panel more user friendly for your clients.

How to Remove Default Author Profile Fields in WordPress

As you can see, we do not want to keep AIM, Yahoo IM, and Jabber/Gtalk. If you are dealing with very new level clients, then you do not want them to see this. It will only complicate things for them. To remove these default fields simply open your theme’s functions.php file and add the following code:

<?php
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 remove the contact methods like AIM, Jabber, and Yahoo IM. Now if you want to add fields then you should check out our article that talks about adding author profile fields in WordPress.

Source: Strangework by Brad Williams

What Next?

Digg it
Save This Page
Subscribe to WPBeginner
Stumble it
Free Wordpress Blog Setup

Comments

5 Responses to “How to Remove Default Author Profile Fields in WordPress”
  1. Mad Mike says:

    This is yet another example of the valuable information available at WP Beginner. Thanks guys.

  2. Thanks for this one guys. We restrict all of this so this is a perfect tool to ensure we don’t have to see it either.

  3. gifer says:

    aah excellent post, thanks a lot :)

    I think wp should remove these by themself,
    why aim,jabber lol they should add facebook and twitter :P

  4. Andrew says:

    This is great. I’ve already implemented it on two sites. Thanks so much!

  5. Michelle says:

    This is yet another example of the valuable information available at WP Beginner. Thanks guys.

Share Your Opinions

Tell us what you're thinking...
and if you want a pic to show with your comment, then get gravatar!

Please make sure that you have read our Comment Policy.

Due to high volume of request from our readers, we are adding this feature that allows you to stay updated with this post's comments without having to participate in the discussion even though we would love your input as always. Don't worry we hate SPAM just as much as you do, so you will never receive any SPAM messages from our site and that's our promise to you.

Subscribe without commenting

Close Bar