WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] [closed] Add option to hide new Admin Bar (22 posts)

  1. billsaysthis
    Member
    Posted 3 years ago #

    I have no issue with this being on by default but personally I won't use it and want to be able to shut it off. Having to install a separate plugin, per Ozh's post, seems absurd.

  2. James
    Happiness Engineer
    Posted 3 years ago #

    My understanding is that there will be an option to disable it, but they're trying to perfect the bar as is before they work on that.

  3. billsaysthis
    Member
    Posted 3 years ago #

    Fair enough, though I'd think the delta in effort is small enough to not worry about putting it off and I don't see how the option would impact the effort to perfect.

    My bigger issue at the moment is that this just started appearing at the top of my blog pages and searching the Codex and here turned up no useful information. I'm sure it was listed in the changelogs and new features are to be expected running dev builds but at least some minimal entry ought to be made when people try to figure out what the heck this is.

  4. James
    Happiness Engineer
    Posted 3 years ago #

    The documentation is rarely updated until the final release is ready to go because the new features have a tendency to change frequently, and we'd be hit with a ton of "I don't see this feature" posts from confused users of the stable branch.

    If you want to run alpha and beta releases, you have to be ready for sudden and sometime unwanted change.

    If you'd like some notification of new features and changes, follow the development here: http://wpdevel.wordpress.com/

  5. headelf
    Member
    Posted 3 years ago #

    To this I'd like to add, it seriously SERIOUSLY screws with the loading time of my site. It went from loading quickly to . . . hang on while I go get coffee . . . and I am SO not kidding.

    I SO want this thing gone until such time as it isn't such a dog. The default should be GONE, not DOG.

  6. vusis
    Member
    Posted 3 years ago #

    How do we switch this blood thing off!!
    I want to get rid of this admin bar because its interfering with buddypress

  7. esmi
    Theme Diva & Forum Moderator
    Posted 3 years ago #

    For single sites, add the following to your theme's functions.php file:

    /* Disable the Admin Bar. */
    add_filter( 'show_admin_bar', '__return_false' );

    For networks, add the code to mu-plugins.

    Or see http://wordpress.org/extend/plugins/disable-admin-bar/

  8. semrocc
    Member
    Posted 3 years ago #

    This should definetely be an opt-in option within the admin panel, very annoying.

  9. tjmcd
    Member
    Posted 3 years ago #

    As admin user I don't mind it terribly (though probably won't use it), but it'd be nice, if I could disable for other roles.

    Please make it go away! Or at least let me. soon?

    p.s. @Theme Diva -- Thanks, works a charm!

  10. wppoetry
    Member
    Posted 3 years ago #

    I first thought something was wrong with me, maybe I was the only one who hated that stupid bar.
    Thanks God I am not.
    Really enjoying.
    Thanks a lot Ipstenu and esmi for help to get rid off it :-)

  11. olyma
    Member
    Posted 3 years ago #

    With 3.1, I was SUPER annoyed by this too and pretty much see the new bar as a useless addition to WordPress.

    Global disabling through the Dashboard would be extremely nice in a future release. Nonetheless, someone in wordpress dev patiently pointed out that to deactivate it through the Dashboard itself (no need to fiddle with the functions.php file), go to "Users," select your username, and under your profile options is the option to turn this off!!!! Yay!

    Thank you dev-angels!!!!

  12. Sherry
    Member
    Posted 3 years ago #

    Okay, I've read the thread and still do not know how to turn that stupid thing off. Please, anyone know how. It's right in my way.

    Found it - finally, in the user profile.

  13. wppoetry
    Member
    Posted 3 years ago #

    Am I blind ?

    I resisted from asking here WHERE IS IT, but no matter how hard I tried to find it I don't see any option in the user profile to turn it off.
    Can't help but ask (stupid question?) : where is it ?

  14. Rev. Voodoo
    Volunteer Moderator
    Posted 3 years ago #

    Screenshot

    Hope that helps!

  15. wppoetry
    Member
    Posted 3 years ago #

    Hi Rev.Voodoo !
    Thanks for screen shot, it helps me at least to find out that I'm not blind.
    But question is stupid because I should know:
    If it 'sounds' like it's not there, than probably it's not there.

    I just don't have 'the stuff' that you marked out in my profile settings. I have the old one version.

    So I should ask ; WHY ??

    Stupid bar came with 3.1 and this option did not. Strange.
    I re-installed 3.1 but still nothing.
    Now I need one more plugin to handle this.
    Like I don't have them already enough.
    Really enjoying.

    Any idea why it's not there ?

    Thanks in advance for any help

  16. wppoetry
    Member
    Posted 3 years ago #

    Just to add to the above:
    I tried to add to my functions.php code:

    /* Disable the Admin Bar. */
    add_filter( 'show_admin_bar', '__return_false' );

    But than I have a strange 'reaction' : every time I was doing any update ( post, css, plugin settings...no matter what) my dashboard disappeared !

    No error msgs, nothing... just plain white screen ( with the right link wehere I was supposed to be showing up in the browser's status bar)

    So, I removed it and installed plugin to handle stupid bar.

    Now, I've just visited your sites, took some time to read your posts at
    http://voodoopress.com/2011/02/wordpress-3-1-admin-bar-upgrade-issues/#more-150

    I'll try the code you put there:

    //REMOVE ADMIN BAR
    remove_action('init', 'wp_admin_bar_init');

    Maybe I'll got more lucky with this one :-)

    However, seems like something really is wrong with my update to 3.1
    Don't know what is killing it from proper update on my sites.

    PS
    About your sites: I am really impressed !
    Hardly I forced my self to leave it
    (cos I have a must to be done work to finish today)
    There's so much interesting stuff !
    For sure I'll be often there from now on :-)
    Love learning about WP and love music !

  17. wppoetry - You may need to start a new topic (preferably in the How To/Troubleshooting section) for your woes.

    Also, try a manual upgrade.

  18. theshae
    Member
    Posted 3 years ago #

    You could add this to the css:

    #wpadminbar { display:none !important;}

    The code will still be there, but the bar will not be visible.

  19. theshae
    Member
    Posted 3 years ago #

    You could add this to the css:

    #wpadminbar { display:none !important;}

    The code will still be there, but the bar will not be visible.

  20. vuthy
    Member
    Posted 3 years ago #

    Thanks olyma, that worked perfectly. Glad I'm not the only one that hated what is supposed to be a "good" feature.

  21. liperuf
    Member
    Posted 3 years ago #

    add this to your functions.php:

    function hide_admin_bar(){ return false; }
    add_filter( 'show_admin_bar', 'hide_admin_bar' );

    original idea from http://www.netchunks.com/how-to-remove-wordpress-admin-bar/

Topic Closed

This topic has been closed to new replies.

About this Topic