• Resolved sophieanne

    (@sophieanne)


    I just upgraded to 3.0.5 and there’s a new admin bar on every page of my live site. It does not render correctly and is driving me crazy. Does go away when I log out but I really need to turn it off.

    I found a plugin, but I really don’t want to install yet another plugin to disable this. Thanks.

Viewing 4 replies - 1 through 4 (of 4 total)
  • you can add this to theme functions.php

    /* Disable the Admin Bar. */
    add_filter( 'show_admin_bar', '__return_false' );
    
    /* Remove the Admin Bar preference in user profile */
    remove_action( 'personal_options', '_admin_bar_preferences' );

    Go to your profile and you should see the option “Show Admin Bar”. You have two checkbox choices, “when viewing site” and “in dashboard”.

    Thread Starter sophieanne

    (@sophieanne)

    Oh thank goodness that worked! Thanks so much.

    Thanks a ton, b-rad. It worked.

    Here’s a screenshot for those who work better with a visual aid.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘disable new admin bar’ is closed to new replies.