X

How to Remove Personal Options from User Profiles in WordPress

Snippets by IsItWP

Do you want to remove Personal Options from User Profiles? All you have to do is add a code snippet to your functions.php file. Let’s take a look.

personal options

Instructions:

All you have to do is add this code to your theme’s functions.php file or in a site-specific plugin:

function hide_personal_options(){
echo "\n" . '<script type="text/javascript">jQuery(document).ready(function($) { $(\'form#your-profile > h3:first\').hide(); $(\'form#your-profile > table:first\').hide(); $(\'form#your-profile\').show(); });</script>' . "\n";
}
add_action('admin_head','hide_personal_options');

Note: If this is your first time adding code snippets in WordPress, then please refer to our guide on how to properly copy / paste code snippets in WordPress, so you don’t accidentally break your site.

If you liked this code snippet, please consider checking out our other articles on the site like: 62 best free WordPress blog themes or 7 best WordPress contact form plugins.

Comments   Leave a Reply

  1. Any idea why I get the white screen when using this? I just want to remove the More information link to wp from the profile? Thanks

  2. This doesnt work for me

    1. Just tested this in 3.8 and it works perfectly as expected.

  3. it works, thanks

  4. It works nicely. However, it would be great to allow certain user  groups (like the admin) to have their full options show. 

    1. if ( !current_user_can( ‘administrator’ ) ) {
      add_action(‘admin_head’,’hide_personal_options’);
      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”;
      }
      }

  5. How to Simplify WordPress Profiles By Removing Personal Options October 31, 2011 at 12:30 pm

    […] for this little hack goes to our friends at wpsnipp.com, originally posted by Kevin […]

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!