• Resolved billsaysthis

    (@billsaysthis)


    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.

Viewing 6 replies - 16 through 21 (of 21 total)
  • 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
    https://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 !

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

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

    Also, try a manual upgrade.

    You could add this to the css:

    #wpadminbar { display:none !important;}

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

    You could add this to the css:

    #wpadminbar { display:none !important;}

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

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

    add this to your functions.php:

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

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

Viewing 6 replies - 16 through 21 (of 21 total)
  • The topic ‘Add option to hide new Admin Bar’ is closed to new replies.