Remove default profile fields

CSS Hero live visual CSS editor

Add this to the functions.php of your wordpress theme to remove the default profile fields.


    function hide_profile_fields( $contactmethods ) {
    return $contactmethods;

Comments  Leave a Reply

  1. Thanks for this tip, it’s a big help.

    Any idea how to remove the 4 items below “Personal Options” including that options title itself?
    4 options: disable visual editor, color scheme, keyboard shortcut and admin bar.

    Got the color scheme code from you, and able to hide admin bar using css, any idea on the other 2 and the title? Or if there is a cleaner way to remove all at once using filter or remove_action?

    1. This should get rid of all the personal options for you,

      function hide_personal_options(){
      echo “n” . ‘jQuery(document).ready(function($) { $(‘form#your-profile > h3:first’).hide(); $(‘form#your-profile > table:first’).hide(); $(‘form#your-profile’).show(); });’ . “n”;

      You can do this to hide admin bar,

  2. Tweets that mention Wordpress Remove default profile fields – wpsnipp.com Wordpress code snippets for your blog -- Topsy.com February 24, 2011 at 10:03 am

    […] This post was mentioned on Twitter by Y Combinator Newest!, newsery5. newsery5 said: WordPress remove default profile fields – http://bit.ly/i7aCV7 – [Hacker News FH] […]

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 privacy policy, and all links are nofollow. Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.

WordPress Launch Checklist

The Ultimate WordPress Launch Checklist

We've compiled all the essential checklist items for your next WordPress website launch into one handy ebook.
Yes, Send Me the Free eBook!