Tell me more ×
WordPress Answers is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

Do not misunderstood.

I am trying to remove/disable Show toolbar option (not talking about hide/disable admin bar) but talking about The Option into Profile Settings.

I tried to search but in all I found only how to disable admin bar from front and back but nowhere I found how to remove the check-boxes from profile settings.

share|improve this question

2 Answers

up vote 2 down vote accepted

the fields are hard coded there is nog filter or action to disable it.
You could hide it with CSS....

If you want you could replace the entirely page with a different one you custom create.

share|improve this answer
Actually I was looking proper and technical solution but css hack is also fine for now. Thanks! – pixelngrain Jun 5 '12 at 7:34

@pixelngrain , Maybe this is what you where looking for, this part of code will at least hide the Personal Options.

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');

This in functions.php works like a charm for me. Code found here : Remove personal options

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.