{"id":289605,"date":"2026-03-28T13:10:04","date_gmt":"2026-03-28T13:10:04","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/admin-toolbar-toggle\/"},"modified":"2026-10-03T09:11:44","modified_gmt":"2026-10-03T09:11:44","slug":"lightweight-admin-toolbar-toggle","status":"publish","type":"plugin","link":"https:\/\/bre.wordpress.org\/plugins\/lightweight-admin-toolbar-toggle\/","author":23465173,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"2.0.3","stable_tag":"2.0.3","tested":"6.9.10","requires":"4.6","requires_php":"","requires_plugins":null,"header_name":"Lightweight Admin Toolbar Toggle","header_author":"Aldi Fajar","header_description":"A plugin to toggle the WordPress admin bar and make it float without taking up page space.","assets_banners_color":"051f49","last_updated":"2026-10-03 09:11:44","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/aldifajar.com","header_plugin_uri":"https:\/\/wordpress.org\/plugins\/lightweight-admin-toolbar-toggle\/","header_author_uri":"https:\/\/aldifajar.com","rating":0,"author_block_rating":0,"active_installs":10,"downloads":687,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"aldibudimanputra","date":"2026-03-28 13:15:55","revision":3493334},"2.0.0":{"tag":"2.0.0","author":"aldibudimanputra","date":"2026-06-12 07:24:53","revision":3569683},"2.0.1":{"tag":"2.0.1","author":"aldibudimanputra","date":"2026-06-17 14:20:33","revision":3575961},"2.0.3":{"tag":"2.0.3","author":"aldibudimanputra","date":"2026-10-03 09:11:44","revision":3725984}},"upgrade_notice":{"2.0.1":"<p>Fixes the Plugin URI link and removes the slide animation on the toggle button.<\/p>","2.0.0":"<p>Major update: adds a settings page with button position, per-URL visibility rules, remember state, and better theme compatibility.<\/p>","1.0.0":"<p>Initial release of Lightweight Admin Toolbar Toggle plugin.<\/p>"},"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3493332,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3493332,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3493332,"resolution":"1544x500","location":"assets","locale":"","width":1544,"height":500},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3493332,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0","2.0.0","2.0.1","2.0.3"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3493332,"resolution":"1","location":"assets","locale":"","width":1920,"height":1080}},"screenshots":{"1":"Floating toggle button on the right side of the screen","2":"Admin bar shown when toggle is clicked"}},"plugin_section":[],"plugin_tags":[83,1339,1244,2133,1541],"plugin_category":[],"plugin_contributors":[258859],"plugin_business_model":[],"class_list":["post-289605","plugin","type-plugin","status-publish","hentry","plugin_tags-admin","plugin_tags-admin-bar","plugin_tags-hide","plugin_tags-toggle","plugin_tags-toolbar","plugin_contributors-aldibudimanputra","plugin_committers-aldibudimanputra"],"banners":{"banner":"https:\/\/ps.w.org\/lightweight-admin-toolbar-toggle\/assets\/banner-772x250.png?rev=3493332","banner_2x":"https:\/\/ps.w.org\/lightweight-admin-toolbar-toggle\/assets\/banner-1544x500.png?rev=3493332","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/lightweight-admin-toolbar-toggle\/assets\/icon-128x128.png?rev=3493332","icon_2x":"https:\/\/ps.w.org\/lightweight-admin-toolbar-toggle\/assets\/icon-256x256.png?rev=3493332","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/lightweight-admin-toolbar-toggle\/assets\/screenshot-1.png?rev=3493332","caption":"Floating toggle button on the right side of the screen"}],"raw_content":"<!--section=description-->\n<p>Lightweight Admin Toolbar Toggle allows Administrators to toggle the WordPress admin bar on\/off from the frontend. The page reserves space while the toolbar is shown and reclaims it when hidden.<\/p>\n\n<h3>Features<\/h3>\n\n<ul>\n<li>Toggle admin bar visibility with a floating button<\/li>\n<li>Visible toolbar reserves its measured height; hiding it reclaims the space<\/li>\n<li>Settings page to choose the toggle button position (8 positions around the screen edge)<\/li>\n<li>Show or hide the toggle on specific pages with include\/exclude URL rules and * wildcards<\/li>\n<li>Optionally remember the toolbar open\/closed state between pages (browser localStorage, no database writes)<\/li>\n<li>Optionally hide the front-end toolbar completely for non-administrator users<\/li>\n<li>Only visible to Administrators<\/li>\n<li>Compatible with popular page builders (Elementor, Divi, Astra, etc.)<\/li>\n<li>Stays out of the Elementor editor\/preview and the Customizer preview<\/li>\n<li>Shields the toolbar from theme CSS resets that break its layout and icons<\/li>\n<li>Keyboard accessible toggle button (Enter\/Space) with proper ARIA attributes<\/li>\n<li>Glassmorphism styled toggle button<\/li>\n<li>Translation ready<\/li>\n<li>Cleans up its settings on uninstall<\/li>\n<\/ul>\n\n<!--section=installation-->\n<ol>\n<li>Upload the <code>admin-toolbar-toggle<\/code> folder to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>Only Administrator users will see the floating toggle button on the frontend<\/li>\n<li>Configure the button position and page visibility under Settings &gt; Toolbar Toggle<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"who%20can%20see%20the%20toggle%20button%3F\"><h3>Who can see the toggle button?<\/h3><\/dt>\n<dd><p>Only users with Administrator role can see and use the toggle button.<\/p><\/dd>\n<dt id=\"how%20to%20fix%20the%20toggle%20button%20not%20showing%3F\"><h3>How to fix the toggle button not showing?<\/h3><\/dt>\n<dd><p>If you are an Administrator and the toggle is not showing, please ensure that you have checked the \"Show Toolbar when viewing site\" option in your WordPress Dashboard under Users &gt; Profile. Also check Settings &gt; Toolbar Toggle in case the current URL is excluded by your page visibility rules.<\/p><\/dd>\n<dt id=\"can%20i%20change%20where%20the%20toggle%20button%20appears%3F\"><h3>Can I change where the toggle button appears?<\/h3><\/dt>\n<dd><p>Yes. Go to Settings &gt; Toolbar Toggle and pick one of the 8 positions around the screen edge (top, middle, bottom on either side, or top\/bottom center). The default is Middle Right.<\/p><\/dd>\n<dt id=\"can%20i%20limit%20the%20toggle%20to%20certain%20pages%3F\"><h3>Can I limit the toggle to certain pages?<\/h3><\/dt>\n<dd><p>Yes. In Settings &gt; Toolbar Toggle you can either show the toggle on every page except a list of URLs, or only on the URLs you list. Relative paths (\/contact), full URLs, and the * wildcard (\/shop\/*) are supported.<\/p><\/dd>\n<dt id=\"does%20this%20plugin%20work%20with%20page%20builders%3F\"><h3>Does this plugin work with page builders?<\/h3><\/dt>\n<dd><p>Yes! This plugin includes fixes for common sticky header issues with Elementor, Divi, Astra, and other popular themes and page builders. It also automatically disables itself inside the Elementor editor\/preview and the Customizer preview.<\/p><\/dd>\n<dt id=\"will%20this%20affect%20my%20website%20layout%3F\"><h3>Will this affect my website layout?<\/h3><\/dt>\n<dd><p>The toolbar reserves its actual rendered height while visible. Hiding it removes that space. Responsive WordPress 32px\/46px values are startup fallbacks only. Resize and content observers update spacing when the toolbar changes size and notify page builders to recalculate sticky positions. Custom fixed-header implementations may still require their own integration.<\/p><\/dd>\n<dt id=\"is%20the%20admin%20bar%20hidden%20by%20default%3F\"><h3>Is the admin bar hidden by default?<\/h3><\/dt>\n<dd><p>Yes, the admin bar is hidden by default. Click the floating toggle button to show it. With \"remember state\" enabled (the default), the open\/closed state persists between pages in your browser.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>2.0.3<\/h4>\n\n<ul>\n<li>Improved: Measure the native toolbar height instead of forcing desktop\/mobile heights.<\/li>\n<li>Improved: Update spacing on viewport, orientation, font and toolbar content-size changes.<\/li>\n<li>Guard: Only notify builders when effective state\/height changes to avoid resize feedback loops.<\/li>\n<li>Guard: Fall back to mutation observation when ResizeObserver is unavailable; reclaim space if the toolbar is removed during recalculation.<\/li>\n<\/ul>\n\n<h4>2.0.2<\/h4>\n\n<ul>\n<li>Fix: Reserve toolbar space only while visible, with responsive 32px\/46px spacing.<\/li>\n<li>Fix: Hidden toolbar has zero height for builder measurements; notify builders on state changes.<\/li>\n<li>Fix: Remove toolbar spacing when printing.<\/li>\n<\/ul>\n\n<h4>2.0.1<\/h4>\n\n<ul>\n<li>Fix: Corrected Plugin URI in the plugin header to point to the correct wordpress.org listing<\/li>\n<li>Fix: Removed toggle button slide animation on hover\/focus (button no longer moves on interaction)<\/li>\n<\/ul>\n\n<h4>2.0.0<\/h4>\n\n<ul>\n<li>New: Settings page under Settings &gt; Toolbar Toggle<\/li>\n<li>New: Choose the toggle button position from 8 spots around the screen edge<\/li>\n<li>New: Per-URL visibility rules (include or exclude mode) with * wildcard support<\/li>\n<li>New: Option to remember the toolbar open\/closed state between pages (browser localStorage)<\/li>\n<li>New: Option to hide the front-end toolbar for non-administrator users (now configurable)<\/li>\n<li>New: Settings link on the Plugins screen<\/li>\n<li>Improved: Toolbar is now shielded from theme CSS resets (box-sizing, list bullets, link underlines, image max-widths, font overrides) so it always renders correctly<\/li>\n<li>Improved: Layout protection is now minimal and server-side (admin-bar body class and core bump removed before render) instead of aggressive CSS overrides<\/li>\n<li>Improved: Toggle button is keyboard accessible (Enter\/Space) with aria-pressed and aria-label<\/li>\n<li>Improved: Plugin stays inactive inside the Elementor editor\/preview and the Customizer preview<\/li>\n<li>Improved: Capability check now uses manage_options instead of the administrator role name<\/li>\n<li>Improved: Translation ready with the admin-toolbar-toggle text domain<\/li>\n<li>Improved: Settings are removed from the database on uninstall<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial release<\/li>\n<\/ul>","raw_excerpt":"A plugin to toggle the WordPress admin bar and reclaim its space when hidden. Only visible to Administrators.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/bre.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/289605","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bre.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/bre.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/bre.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=289605"}],"author":[{"embeddable":true,"href":"https:\/\/bre.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/aldibudimanputra"}],"wp:attachment":[{"href":"https:\/\/bre.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=289605"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/bre.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=289605"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/bre.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=289605"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/bre.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=289605"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/bre.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=289605"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/bre.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=289605"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}