Toggleable Admin Bar

Allows you to toggle the admin bar on the front end. Useful for websites with fixed positioned elements, as the admin bar can get in the way.

Author:Michael Smyth (profile at wordpress.org)
WordPress version required:
WordPress version tested:5.8
Plugin version:1.3.1
Added to WordPress repository:21-10-2015
Last updated:03-08-2021
Rating, %:100
Rated by:1
Plugin URI:http://www.michaelsmyth.co.uk
Total downloads:1 534
Active installs:100+
plugin download
Click to start download

I created this plugin to help when creating sites that have fixed headers, if you fix the header to the top of the screen you then have to go in and add additional styles for logged in users that have the admin bar, after doing this on quite a lot of sites I thought a better way to manage this might be to allow the admin bar to be toggled in and out of view on the front end, whilst still keeping everything fixed to the top of the browser!

The plugin simply adds a button to the far right of the admin bar, shifting the whole bar up past the top of the screen (out of view) except for the button, on click of the button the admin bar slides into view.


FAQ
ChangeLog