Hi!
currently your plugin does shift the editor view of elementor page builder when editing templates (not pages) by 32px upwards when your function: Remove 32px top gap is active.
And as this is the main reason I use your plugin, can you please fix this ??
Thanks!
Sascha
]]>While logged in and in read mode of a page it would be very handy to trigger the actions of the Admin Menu (or Quick Access Panel) by keyboard shortcuts:
E → Edit Page
P → New Page
B → New Blogpost (“P” shortcut already taken for “Page”)
C → Customizer
D → Dashboard
P → Plugins
T → Themes
For upselling to Pro users:
F → Edit Page with Full Site Editor or your choice
Or the “E” could be bound to that action, and you get “G” to access Gutenberg if in desire
The shortcuts can easily be single letter shortcuts without a modifier key.
Because on a normal web site while browsing you are in read mode and don’t use them too much.
Except when you are actively in a form or search field, but then the shortcut library should be smart enough to intercept and ignore the shortcut during that situation.
I proposed shortcuts in the Admin Menu in the WordPress Core issue tracker already, but Core Development takes its time. So BAB by its feature scope would be an ideal candidate to introduce this quickly and uncomplicated.
The Gutenberg Block Editor uses the Mousetrap Javascript Library for handling shortcuts while its lifecycle. Possibly you can integrate Mousetrap or the Gutenberg variant/method of it without too much effort into BAB.
And should keyboard handling in logged in read mode get part of Core one day, BAB can then still give up its own keyboard functionality and use default mechanisms.
Behavior:
– Shortcuts should work regardless whether Quick Access Panel or Admin Menu are visible or hidden
– That way they can work both complimentary when visible (for advanced users) or as a keyboard only alternative (expert users).
– Novice users can discover them in the menu (while hovering the shortcut letter is shown in a tooltip)
What do you make of this idea?
]]>## Version 3.4 has these settings:
– Top hover area height (if autohide): Default 10px
– Hover delay: 250ms
– Remove Admin Bar Gap (the upper 32px): I set this to ON. As an admin/editor I want to experience the website normally and show the admin menu only on demand.
## My 3.4 setup and experience
– Top hover area: As low as 6-8px.
– Hover delay: Really low like 200ms or less.
→ ? Only when voluntarily moving up really near the viewport border you get the admin menu. And it shows/hides instantly. Nice!
## The somewhat disappointing 4.x experience
Hover area is hardcoded to 32px
– ? As such very often in conflict with normal menu interactions.
– To avoid unintentional admin menu kick-in, you have to set a very long delay (2000ms) and then also never spend more than that time in the upper 32px of the normal menu.
– The worst combination of both the old settings.
?? Hover area should be a user preference again. Was my personal highlight!
Hover delay affected both the duration for showing and hiding in 3.4
– In 4.x Delay and Animation Speed seem to only effect the transition from hidden to shown.
– The Delay and Animation Speed from shown to hidden seems to be hardcoded (too long for my taste).
?? The settings should either affect both the in and out transition or offer 4 separate options (shown in their sequence order for best user comprehension)
Delay from hidden → shown: 500ms
Animation from hidden → shown: 250ms
Animation from shown → hidden: 250ms
Delay from shown → hidden: 500ms
Hi, was wondering did something change recently or maybe I just missed this before. But the ‘Better Admin Bar’ menu item under Settings is suddenly visible for shop_manager role and and makes that whole menu item visible (BAB is the only item there for shop_manager). Maybe it was always like this and I just didn’t notice, but is there a way to change what capability is needed to gain access to the plugin settings and seeing the menu item?
‘Settings’ menu isn’t listed in Ultimate Dashboard either, so can’t hide it that way.
Thanks!
]]>Hi,
if you can help
1 – “fix multiline admin bar” can be activated in the backend
2 – the plugin can rename or hide some labels (maybe keep the icon only), that would be nice. A custom CSS field would solve this
Thank you for your job.
Hi,
thanks for providing this plugin! Dakujem!
I already have had an intensive research for an admin bar customization plugin suiting my use cases.
Tweaking your settings already got me very close to meet my most important requirements.
– I set the Admin bar opacity (inactive)?to 0%.
— This way it’s not visually interfering at all.
– I set Top hover area height (if autohide)?to only 4px and the Hover delay?to a long 2000ms.
— That way you have no interference at all with normal top menu interactions.
The only things missing to a perfect-enough solution:
1) Could the parameter “Hover delay” be split into “Delay for showing menu” and “Delay for hiding menu”? That way you can tune it more to your need.
2) Could the role-specific behavior be fine tuned? I would propose this:
Menu bar shows for certain roles at these events:
Admin: [ ] Init [ ] Hover [ ] Hotkey [ ] FloatButton [ ] MenuItem
Editor: [ ] Init [ ] Hover [ ] Hotkey [ ] FloatButton [ ] MenuItem
Subscriber: [ ] Init [ ] Hover [ ] Hotkey [ ] FloatButton [ ] MenuItem
Role X: [ ] Init [ ] Hover [ ] Hotkey [ ] FloatButton [ ] MenuItem
...
Notes:
– Hotkey, FloatButton, MenuItem is currently not implemented. Just illustrative for how a role/trigger matrix could look like and be extended over time.
– Selecting no option means that the admin menu remains always invisible to that role.
– Selecting “Init” is the quite strong but should nevertheless be combinable with other options.
— If “Init” gets combined i.e. with “Hover” you could on demand hover over the admin-bar and then move out, and it would get hidden.
— If combined with “Hotkey” you could toggle it with your hotkey.
— There could also be combinations which make little sense, but I would leave that up to the user and not create and logic handling/limiting this.
These current options would then be redundant and get deleted:
– Hide admin bar for all users
– Hide admin bar for all users except admin
These option would get renamed:
– OLD: Hide admin bar on screens smaller than?
– NEW: Initial showing of admin bar hidden on screens smaller than
What do you say? Am curious.
]]>Thank you for a very useful plugin! However, I noticed a small bug and found a solution as well.
What I need is autohide and transparency. But if I set Admin bar opacity (inactive) to 0%, the bar is not invisible in the front-end. When I go back to settings, I can see that the Admin bar opacity became 30% itself.
Then if I set opacity to 0.01% or 0.25%, somehow it becomes 0% later and the bar is transparent and works well.
But if I decide to save the settings again, when the opacity is 0%, it turns back to 30% again as soon as I go to the front-end.
WP 5.7, PHP 7.2.34
]]>Just found a funny bug: the opacity change doesn’t work when I set my WordPress language to Dutch, because the plugin sets the opacity value to “0,01” – we use commas for decimals in Dutch – but that’s not valid CSS. When I switch to English it uses “0.01” and it works fine. Could you fix this?
]]>I suggest an option to bind a keyboard shortcut to toggle the admin bar, instead/in addition to hover.
In the meantime is there a javascript event I can use to implement it myself?
Thanks for the great plugin.
]]>I want to hide the admin bar for everyone, but after activating this plugin, it is still showing for non-logged in users.
]]>Hi,
I have just tried your plugin and it is very helpful, thanks. One small problem, I think…
On small screens (phones and tablets in portrait mode) the offset of the auto-hide admin bar does not compensate for the larger admin bar shown on those devices.
I set the “Top hover area height (if autohide)” setting to 5 px. This works great on large screens, but on small screens too much of the admin bar is showing.
I think that the CSS which your plugin adds should include a breakpoint that would change the “top” amount differently on those small screens. I think that would fix this issue.
Am I doing something wrong?
]]>Does this plugin support recaptcha v3 or only v2?
]]>Hello,
I’m having a issue in a page where there are 2 sticky bars:
With “Better Admin Bar” deactivated: https://take.ms/bctgK
With “Better Admin Bar” activated: https://take.ms/mcVXs
How would I correct this gap? Any idea?
Thanks
]]>Hi, I see this alert on WordPress translation:
This plugin is not properly prepared for localization (View detailed logs on Slack). If you would like to translate this plugin, please contact the author.
Can you fix it?
I translate the plugin in french, you can download my po/mo files here:
https://megastock.free.fr/divers/better_admin_bar-fr_FR.zip
Regards.
Jean
I have a header on my website with a high z-index so i was wondering if i can change the z-index of this plugin because it will hide behind my header sometimes.
Thanks
]]>Hello and congrats for this plugin
Its there a possibility that I can only make full transparent the bar but keep the text full opaque ?
Thank you !
]]>Both plugins that offer auto hide admin bar does not work with sticky menu and the only ones that have auto hide of the bar. They got ugly gap when scrolling and the only way to fix it is making menu not sticky which I do not like and have to force visitors to scroll to the top to use the menu. So either fix it and I told the other plugin author same thing. If it isn’t fixed then I will never use this plugin.
I am using Content.ad and departure widget opens up and the X to close out is hiding under the admin bar and the only two plugins that I need to use that departure widget is not working because of the fugly gap. It looks like you guys don’t want to fix it. The other auto hide admin bar plugin has a support post a year ago of someone having the same issue and never was fixed. So to me this looks like it isn’t that important to have me use that plugin or yours.
]]>Hey man, loving your plugin but i’m getting this in my “chrome inspect” searching out errors etc.
Uncaught SyntaxError: Unexpected token ILLEGAL – notes-common-v2.js:157
Uncaught ReferenceError: wpNotesCommon is not defined – admin-bar-v2.js:30
It doesn’t actually cause anything wrong, not that I know of anyway, but I would like to fix it knowing my site is not open to something wrong down the line ??
]]>Hello,
I installed Better Admin bar because I wanted to hide the admin bar for all users except admins, and it worked like a charm.
Now I’d like to restore the admin bar for all users, but even if I uncheck the option in the preferences, it doesn’t work. I also tried to deactivate the plugin and uninstall it, but still the admin bar is missing for “normal” users.
Any clue?
Thanks in advance!
]]>Great plugin but this setting:
Top hover area height (if autohide):?
It doesn’t work. It is always 5, even if you save it as 1.
]]>