Auto Hide Admin Bar

This plugin adds an auto-hide feature to the WordPress Admin Bar that was introduced in WordPress 3.1.  Result: more screen real estate and the added functionality of the WordPress Admin Bar.


Download the Auto Hide Admin Bar plugin here: Auto Hide Admin Bar plugin on


See the plugin page for the changelog.

Ready to donate?

If you really like this plugin, buy me a beer, or two, or get really crazy and buy me a an electric car.

25 reacties op “Auto Hide Admin Bar”

  1. Hi Marcel,

    I enjoyed using your plugin but it seems to be conflicting with my theme or other plugins. I have deleted your plugin however the coding still remains in my pages. It essentially causes my menu header to increase or decrease by 32pixels on random pages. Is there an easy way to remove all your coding or do I need to manually delete it from each page?

  2. Hi!

    I noticed some validation problem I think because of:


    $autoHide = jQuery(this).find(‘#hiddendiv’);

    When I try to valid and I’m connected to WordPress it gives me some error.


    Or with Web Developper Toolbar locally.

  3. Hi again

    I also wonder if it should be possible to add in a new function for this plugin: Give each user the possible to decide if they want to have this function on or off and have it off as default?

  4. Hi

    I have used you auto hide admin bar and love it but since we got WP 3.4 I get a javascript error in IE 8 which seems to be connected to the latest jquery version.

    This error appears: Webpage error details

    User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; chromeframe/19.0.1084.56; Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1) ; xs-YvcTCfzB-kg;wKgAvV; .NET CLR 1.1.4322; .NET CLR 2.0.50727; InfoPath.1; InfoPath.3; .NET4.0C; .NET CLR 3.5.30729; .NET4.0E; .NET CLR 3.0.4506.2152)
    Timestamp: Tue, 19 Jun 2012 04:33:29 UTC

    Message: Invalid argument.
    Line: 4
    Char: 25149
    Code: 0

    What happens is that Admin bar freeze and will not be hide until I reload or goes to an other page.

    I’m using Twentyeleven theme if this will helping you.

    Can this be fixed in next version?


  5. Hi! You almost nailed what I would love to see: make the admin bar an absolute layer on top of others, and then mae the auto-hide effect;

    Congrats for the work!

  6. Hi Marcel, I like the plugin and installed it on a number of sites. However it does no longer work with Firefox (3.6.2)on my website. When active, my menu (just under the Admin-bar) does no longer respond.
    In IE it still works.

    • Piet, thanks for your comment. The plugin does work, it’s just a CSS thing. I need to figure out how to trigger the Admin Bar to slide in. Now I’m using a transparent layer, which in your case covers the menu. When hovering over the menu area on your site, the transparent layer blocks your menu.
      I’ll have to figure out another way of triggering the Admin Bar. Give me a few days πŸ˜‰

  7. Marcel, I’m an Opera user, however I tried it at work on IE 7 also. I also made sure to disable the plugin before uploading the new files. I tested both a blog with an older theme and a newer one with Twenty Ten. And I’m logged in as admin, of course. So it boils down to what I was saying before: Auto Hide Admin Bar 0.6 doesn’t work with IE 7 and Opera 11. Sadly. But I’m sure you can and will fix that soon… πŸ˜‰

    • Ralph, I have tested it on firefox, IE and Chrome. What browser are you using, and are you logged in (just filtering out the obvious)? Have you tried deactivating and reactivating the plugin? Emptied your cache?

  8. Good point, Knut! It is indeed somewhat annoying when the admin bar pops out unwantedly. If Marcel manages to implement our two suggestions, his plugin would be the perfect addition to WordPress 3.1!

  9. Nice plugin.

    Q: Wpuld it be possible to have a small delay before showing the admin bar?
    The reason is that when just moving the cursor rapidly from the content to the browser toolbar, or vice versa, the admin bar shows and hides immediatley, causing the content to move down, and this is a bit annoying. In case I just move across the top edge, I don’t want the admin bar. I would like the admin bar to show when I stop for a fraction of a second, just like the tooltip function in Windows.

  10. Hi again Marcel,

    I just realized that your plugin allows the admin bar to roll out gently ONLY if the site shown has not been scrolled yet. I can live with that, however it was a nice feature of the original admin bar to stay on top of the screen regardless how much I scrolled down… I don’t know if it is possible at all to modify your plugin so that the admin bar is accessible at any time on any position of a WordPress site, but it surely would be a fine addition to the current function… πŸ˜‰

    Thanks again for a fine tool,

  11. Great plugin indeed! Works perfectly in my Opera browser with three of my existing blogs, but not with three others that use the new “Twenty Ten” theme. This leaves room for improvement… πŸ˜‰

    Thanks for trying to fix that issue,

    • Ralph, thanks for the bug report. I have fixed the issue and tested it with standard Twenty Ten theme. Version 0.4 has been comitted to the plugin repository.

Geef een reactie

Het e-mailadres wordt niet gepubliceerd. Vereiste velden zijn gemarkeerd met *

Deze site gebruikt Akismet om spam te verminderen. Bekijk hoe je reactie-gegevens worden verwerkt.