Skip to content

Instantly share code, notes, and snippets.

@mitchellhislop
Created March 5, 2011 05:03
Show Gist options
  • Save mitchellhislop/856132 to your computer and use it in GitHub Desktop.
Save mitchellhislop/856132 to your computer and use it in GitHub Desktop.
/* First, let's get rid of the Help menu, update nag, Personal Options section */
echo "\n" . '<style type="text/css" media="screen">#your-profile { display: none; } .update-nag, #screen-meta, .color-option, .show-admin-bar { display: none !important; }</style>';
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',
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment