• Hi there,

    i would like to remove completely the Toolbar for all User and also Admins. I currently use a Plugin for that and would like to do this via Theme functions.

    So i googled a bit arround and found some codes to disable it. But Sadly no one of it removed it.

    Currently i tried

    add_filter('show_admin_bar', '__return_false');
    remove_action('wp_head', '_admin_bar_bump_cb');
    show_admin_bar(false);
Viewing 2 replies - 1 through 2 (of 2 total)
  • Because those remove the toolbar from the frontend, sounds like you want the one removed from the backend (admin)?

    You might be able to do this with the Real Time Find and Replace plugin. This plugin allows you to match HTML text and replace it with whatever you want (in your case, nothing). This finding and replacing occurs on the fly and doesn’t require changes to theme or core files.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Remove Toolbar for all user’ is closed to new replies.