跳到内容

SMNTCS Admin Bar Toggle

v1.0

Niels Lange · 2026年11月24日 上架

Show or hide the admin bar on the frontend with a keyboard shortcut, without leaving a gap at the top of the page.

正在使用
10 以下
评分
暂无
累计下载
33
最近更新
2026年11月24日
需要 WordPress 5.7+已测试到 7.1.5PHP 7.4+

贡献者

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.

The choice is remembered in the browser across page loads. Every user can pick a different shortcut under Users Profile Toolbar shortcut. The shortcut is ignored while you type in a form field, so Cmd/Ctrl+B still makes text bold there.

Features

  • Hide and show the admin bar on the frontend with one key combination
  • No gap: the page and the theme’s admin bar offsets move up as well
  • Remembers the state between page loads
  • Personal shortcut per user, recorded on the profile screen
  • Developers can change the site-wide default with the smntcs_admin_bar_toggle_default_shortcut filter

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums