Beginner's Guide for WordPress - Start your WordPress Blog in minutes.
Choosing the Best
WordPress Hosting
How to Easily
Install WordPress
WordPress Plugins
View all Guides

How to Remove Default Author Profile Fields in WordPress

Last updated on by
Special WordPress Hosting offer for WPBeginner Readers
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:


    function hide_profile_fields( $contactmethods ) {
    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

Editorial Staff at WPBeginner is a team of WordPress experts led by Syed Balkhi. Page maintained by Syed Balkhi.

WPBeginner's Video Icon
Our HD-Quality tutorial videos for WordPress Beginners will teach you how to use WordPress to create and manage your own website in about an hour. Get started now »


  1. VenkatEswaran says:

    this is how my fields look

    function extra_contact_info($contactmethods)


    unset($contactmethods[‘aim’]); unset($contactmethods[‘yim’]); unset($contactmethods[‘jabber’]); unset($contactmethods[‘website’]); $contactmethods[‘facebook’] = ‘Facebook’;

    $contactmethods[‘twitter’] = ‘Twitter’;

    $contactmethods[‘linkedin’] = ‘LinkedIn’;

    $contactmethods[‘google_profile’] = ‘Google Profile URL’;

    $contactmethods[‘Adsense’] = ‘Adsense’;

    $contactmethods[‘Adsense250’] = ‘Google_ad_slot250*250 Code’; $contactmethods[‘Adsense300’] = ‘Google_ad_slot300*250’;

    return $contactmethods;


    add_filter(‘user_contactmethods’, ‘extra_contact_info’);

    I used to get them with this code in my post

    <?php the_author_meta( ‘twitter’ ); ?>

    <?php the_author_meta( ‘facebook’ ); ?>

    it works perfect but when i get this in my adsence code there is no ads coming

    <?php the_author_meta( ‘Adsense’ ); ?>

    <script type=”text/javascript”>

    <!– google_ad_client = “<?php the_author_meta( ‘Adsense’ ); ?>”;

    /* 250×250,created 8/15/11 */

    google_ad_slot = “1738948625”;

    google_ad_width = 250;

    google_ad_height = 250;

    //–> </script>

    <script type=”text/javascript” src=””>


    can u please help me on this

  2. VenkatEswaran says:

    how to remove the website

  3. OneWorld says:

    That code raises in WP 3.2.1 following warnings. It removes those 3 entries though:

    Warning: call_user_func_array() []: First argument is expected to be a valid callback, ‘hide_profile_fields’ was given in /wp/wp-includes/plugin.php on line 170 Warning: Invalid argument supplied for foreach() in /wp/wp-admin/includes/user.php on line 230

    • OneWorld says:

      I fixed it now. It had nothing to do with this code. I just put the “add_filter”-method into the __construct method and forgot to make the function public.

      Other fix could have been (see “array(&$this”…:

      add_action(‘user_contactmethods’, array(&$this,’my_function’));


  4. Michelle says:

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

  5. Andrew says:

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

  6. 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

  7. Tony Dunsworth says:

    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.

  8. Mad Mike says:

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

Add a Comment

We're glad you have chosen to leave a comment. Please keep in mind that all comments are moderated according to our comment policy, and all links are nofollow. Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.