Title: Toggle Hide/Show Admin Bar
Author: Jorge del Campo Andrade
Published: <strong>2024 年 9 月 12 日</strong>
Last modified: 2026 年 5 月 21 日

---

搜索插件

![](https://ps.w.org/toggle-hide-show-admin-bar/assets/icon-256x256.png?rev=3150358)

# Toggle Hide/Show Admin Bar

 作者：[Jorge del Campo Andrade](https://profiles.wordpress.org/jorgedelcampo/)

[下载](https://downloads.wordpress.org/plugin/toggle-hide-show-admin-bar.1.1.3.zip)

 * [详情](https://cn.wordpress.org/plugins/toggle-hide-show-admin-bar/#description)
 * [评价](https://cn.wordpress.org/plugins/toggle-hide-show-admin-bar/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/toggle-hide-show-admin-bar/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/toggle-hide-show-admin-bar/#developers)

 [支持](https://wordpress.org/support/plugin/toggle-hide-show-admin-bar/)

## 描述

A simple and customizable real-time toggle button to hide/show admin bar in front-
end.

## 屏幕截图

[⌊Settings screen.⌉⌊Settings screen.⌉[

Settings screen.

[⌊Button on the front-end.⌉⌊Button on the front-end.⌉[

Button on the front-end.

## 安装

 1. Upload the plugin files to the `/wp-content/plugins/toggle-hide-show-admin-bar`
    directory, or install the plugin through the WordPress plugins screen directly.
 2. Activate the plugin through the ‘Plugins’ screen in WordPress.
 3. Use the Settings->Toggle Admin Bar screen to configure the plugin.

## 常见问题

### How to use the plugin?

 1. Go to Settings->Toggle Admin Bar to access to the plugin dashboard.
 2. Set the button position, behavior (hover / always visible), background color and
    text color.
 3. Save your changes and enjoy the plugin!

## 评价

此插件暂无评价。

## 贡献者及开发者

「Toggle Hide/Show Admin Bar」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Jorge del Campo Andrade ](https://profiles.wordpress.org/jorgedelcampo/)

[帮助将「Toggle Hide/Show Admin Bar」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/toggle-hide-show-admin-bar)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/toggle-hide-show-admin-bar/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/toggle-hide-show-admin-bar/)，或
通过[RSS](https://plugins.trac.wordpress.org/log/toggle-hide-show-admin-bar/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/toggle-hide-show-admin-bar/)。

## 更新日志

#### 1.1.3

 * Added option to remember the last admin bar visibility state on page reload.
 * Uses localStorage to persist user preference.
 * New checkbox setting in admin panel to enable/disable this feature.

#### 1.1.2

 * MarginTop initial values saved to reuse when Hide option is disable.

#### 1.1.1

 * Reduce JS just to handle admin-bar.
 * All CSS classes added in back-end.
 * All button styles and effects handle from CSS stylesheet.
 * Fix wrong behavior when bottom-right option is enable.

#### 1.1.0

 * Added uninstall.php file to clean up plugin options from the database upon deletion.
 * Added function to check if admin bar is hidden for the current user.

#### 1.0

 * Initial release.

## 额外信息

 *  版本 **1.1.3**
 *  最后更新：**3 周前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 5.0 或更高版本 **
 *  已测试的最高版本为 **7.0**
 *  PHP 版本 ** 7.4 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/toggle-hide-show-admin-bar/)
 * 标签
 * [admin bar](https://cn.wordpress.org/plugins/tags/admin-bar/)[toggle](https://cn.wordpress.org/plugins/tags/toggle/)
   [visibility](https://cn.wordpress.org/plugins/tags/visibility/)
 *  [高级视图](https://cn.wordpress.org/plugins/toggle-hide-show-admin-bar/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/toggle-hide-show-admin-bar/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/toggle-hide-show-admin-bar/reviews/)

## 贡献者

 *   [ Jorge del Campo Andrade ](https://profiles.wordpress.org/jorgedelcampo/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/toggle-hide-show-admin-bar/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](https://www.linkedin.com/in/jorgedelcampoandrade/)