{"id":407288,"date":"2026-11-24T05:50:21","date_gmt":"2026-11-24T05:50:21","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/smntcs-admin-bar-toggle\/"},"modified":"2026-11-24T05:49:57","modified_gmt":"2026-11-24T05:49:57","slug":"smntcs-admin-bar-toggle","status":"publish","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/smntcs-admin-bar-toggle\/","author":14617105,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0","stable_tag":"1.0","tested":"7.1.5","requires":"5.7","requires_php":"7.4","requires_plugins":null,"header_name":"SMNTCS Admin Bar Toggle","header_author":"Niels Lange","header_description":"Show or hide the admin bar on the frontend with a keyboard shortcut (Cmd+B \/ Ctrl+B by default), configurable per user, without leaving a gap.","last_updated":"2026-11-24 05:49:57","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/github.com\/nielslange\/smntcs-admin-bar-toggle","header_author_uri":"https:\/\/nielslange.de","rating":0,"author_block_rating":0,"active_installs":0,"downloads":56,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0":{"tag":"1.0","author":"nielslange","date":"2026-11-24 05:49:57","revision":3819695}},"upgrade_notice":[],"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3819695,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3819695,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256},"icon.svg":{"filename":"icon.svg","revision":3819695,"resolution":false,"location":"assets","locale":false}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3819695,"resolution":"1544x500","location":"assets","locale":"","width":1544,"height":500},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3819695,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0"],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[1339,2250,3725,12861,1541],"plugin_category":[],"plugin_contributors":[83824],"plugin_business_model":[],"class_list":["post-407288","plugin","type-plugin","status-publish","hentry","plugin_tags-admin-bar","plugin_tags-frontend","plugin_tags-hide-admin-bar","plugin_tags-keyboard-shortcut","plugin_tags-toolbar","plugin_contributors-nielslange","plugin_committers-nielslange"],"banners":{"banner":"https:\/\/ps.w.org\/smntcs-admin-bar-toggle\/assets\/banner-772x250.png?rev=3819695","banner_2x":"https:\/\/ps.w.org\/smntcs-admin-bar-toggle\/assets\/banner-1544x500.png?rev=3819695","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":"https:\/\/ps.w.org\/smntcs-admin-bar-toggle\/assets\/icon.svg?rev=3819695","icon":"https:\/\/ps.w.org\/smntcs-admin-bar-toggle\/assets\/icon.svg?rev=3819695","icon_2x":false,"generated":false},"screenshots":[],"raw_content":"<!--section=description-->\n<p>SMNTCS Admin Bar Toggle lets logged-in users hide the admin bar while they look at the frontend, so they see the site the way visitors do. Press Cmd+B on a Mac or Ctrl+B on Windows and Linux to hide the admin bar, and press it again to bring it back. The page moves up with it, so no empty gap is left behind.<\/p>\n\n<p>The choice is remembered in the browser across page loads. Every user can pick a different shortcut under Users \u2192 Profile \u2192 Toolbar shortcut. The shortcut is ignored while you type in a form field, so Cmd\/Ctrl+B still makes text bold there.<\/p>\n\n<h4>Features<\/h4>\n\n<ul>\n<li>Hide and show the admin bar on the frontend with one key combination<\/li>\n<li>No gap: the page and the theme's admin bar offsets move up as well<\/li>\n<li>Remembers the state between page loads<\/li>\n<li>Personal shortcut per user, recorded on the profile screen<\/li>\n<li>Developers can change the site-wide default with the <code>smntcs_admin_bar_toggle_default_shortcut<\/code> filter<\/li>\n<\/ul>\n\n<!--section=installation-->\n<ol>\n<li>Upload <code>smntcs-admin-bar-toggle<\/code> to the <code>\/wp-content\/plugins\/<\/code> directory.<\/li>\n<li>Activate the plugin through the <code>Plugins<\/code> menu in WordPress.<\/li>\n<li>Visit the frontend while logged in and press Cmd+B (Mac) or Ctrl+B (Windows, Linux).<\/li>\n<li>Optionally, choose a different shortcut under <code>Users \u00bb Profile \u00bb Toolbar shortcut<\/code>.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"which%20shortcuts%20can%20i%20use%3F\"><h3>Which shortcuts can I use?<\/h3><\/dt>\n<dd><p>Any letter, digit, F1\u2013F12 or punctuation key combined with Cmd\/Ctrl or Alt, optionally with Shift. Shortcuts the browser reserves for itself, such as Cmd\/Ctrl+W, T or N, cannot be used.<\/p><\/dd>\n<dt id=\"how%20do%20i%20change%20the%20default%20shortcut%20for%20all%20users%3F\"><h3>How do I change the default shortcut for all users?<\/h3><\/dt>\n<dd><p>Use the <code>smntcs_admin_bar_toggle_default_shortcut<\/code> filter, for example <code>add_filter( 'smntcs_admin_bar_toggle_default_shortcut', fn() =&gt; 'Mod+Shift+KeyA' );<\/code>. <code>Mod<\/code> stands for Cmd on macOS and Ctrl elsewhere. Users who picked their own shortcut keep it.<\/p><\/dd>\n<dt id=\"does%20the%20plugin%20store%20any%20data%3F\"><h3>Does the plugin store any data?<\/h3><\/dt>\n<dd><p>A personal shortcut is stored as user meta and removed when you delete the plugin. Whether the admin bar is hidden is stored in the browser's local storage only.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0 (2026.11.15)<\/h4>\n\n<ul>\n<li>Initial release<\/li>\n<\/ul>","raw_excerpt":"Show or hide the admin bar on the frontend with a keyboard shortcut, without leaving a gap at the top of the page.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/407288","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=407288"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/nielslange"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=407288"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=407288"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=407288"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=407288"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=407288"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=407288"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}