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
Download the Auto Hide Admin Bar plugin here: Auto Hide Admin Bar plugin on WordPress.org.
Changelog
See the WordPress.org 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”
[…] requires different tactics to the previous option; a plugin.Β Its fairly straight forward and quite flexible. To get started, go to the Settings > Auto Hide […]
Bec, have you emptied your cache? Both on the server and in your browser?
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?
Hi!
I noticed some validation problem I think because of:
jQuery(‘body’).append(”);
$autoHide = jQuery(this).find(‘#hiddendiv’);
When I try to valid and I’m connected to WordPress it gives me some error.
Try
http://validator.w3.org/check
Or with Web Developper Toolbar locally.
I will record this as a feature request. Thanks!
Per,
Thanks for your bug report π
I have fixed it and pushed out version 0.6.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?
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
URI: http://www.mesas.se/wp-includes/js/jquery/jquery.js?ver=1.7.2
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?
Per
Wow, great plugin! Thanks for that!!
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!
Yep, thanks. Now works for all my sites !
Thanks, I’ll wait and see.
It works for my other websites.
In case this helps, this website also has a menu at the very top and here it works perfectly well: http://startpagina.hetwhiskyforum.nl/
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 π
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 zen-garden.org/wp/ website. When active, my menu (just under the Admin-bar) does no longer respond.
In IE it still works.
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?
Hi Marcel,
thanks a lot for shelling out new releases in vitually no time! However, I have to report that v0.6 does not seem to work at all! π
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!
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.
Ralph,
thanks for your clear problem description. Version 0.5 is comitted, wait a few minutes and you can upgrade.
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,
Ralph
Perfect! Thanks a lot for the very quick reaction, I really appreciate that. Will recommend your great plugin on my list at
http://www.zonebattler.net/selten-gestellte-fragen/#plugins
Groeten uit Duitsland,
Ralph
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.
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
geweldig!