Beskrivning
Simple plugin to hide the annoying profile dropdown that opens when you accidentally hover the ”Howdy” item in the admin bar. A plain Log Out link is added in its place.
Since version 1.1.0 the plugin can also get the whole admin bar out of your way on the front end of your site:
- Click the small arrow at the far right of the admin bar to remove the bar completely, including the space it reserves at the top of the page.
- While the bar is hidden, hover the top-right corner of the window and a small arrow button appears. Click it to bring the admin bar back.
- Your choice is remembered per browser, and applied before the page is painted, so there is no flash of the bar on the next page load.
- The
admin-barbody class is removed while the bar is hidden, so theme styles that offset sticky headers for the admin bar no longer apply.
The hide/show feature only affects the front end. The WordPress dashboard is left untouched.
Installation
Simply search for the plugin name via the Plugins -> Add New dialog and click install, or download and extract the plugin, and copy the plugin folder into your wp-content/plugins directory and activate.
Vanliga frågor
-
Where is the arrow to hide the admin bar?
-
On the front end of your site, at the far right end of the admin bar, next to the ”Howdy” item.
-
How do I get the admin bar back?
-
Move your mouse to the top-right corner of the browser window. A small round arrow button fades in. Click it and the bar returns.
-
No. It is stored in your browser (localStorage), so it applies only to that browser on that device.
Recensioner
Detta tillägg har inga recensioner.
Bidragsgivare och utvecklare
”Remove Profile Dropdown in Admin Bar” är programvara med öppen källkod. Följande personer har bidragit till detta tillägg.
Bidragande personerÖversätt ”Remove Profile Dropdown in Admin Bar” till ditt språk.
Intresserad av programutveckling?
Läs programkoden, kika på SVN-filförvaret eller prenumerera på utvecklarloggen via RSS.
Ändringslogg
1.1.0
- New: arrow in the admin bar (front end only) that removes the bar completely
- New: hover the top-right corner of the window to reveal a button that brings the bar back
- The hidden state is remembered per browser and applied before first paint
- The
admin-barbody class is removed while the bar is hidden
1.0.1
- Confirmed compatibility with WordPress 7.1
- The Log Out link is now translatable and no longer depends on the core logout node
- Added a direct file access guard
1.0.0
- Initial release
