Title: Toggleable Admin Bar
Author: Xanthonius
Published: <strong>2015 年 10 月 21 日</strong>
Last modified: 2021 年 8 月 3 日

---

搜尋外掛

這個外掛**並未在最新的 3 個 WordPress 主要版本上進行測試**。開發者可能不再對這個
外掛進行維護或提供技術支援，並可能會與更新版本的 WordPress 產生使用上的相容性問題。

![](https://s.w.org/plugins/geopattern-icon/toggleable-admin-bar.svg)

# Toggleable Admin Bar

 由 [Xanthonius](https://profiles.wordpress.org/xanthonius/) 開發

[下載](https://downloads.wordpress.org/plugin/toggleable-admin-bar.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/toggleable-admin-bar/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/toggleable-admin-bar/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/toggleable-admin-bar/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/toggleable-admin-bar/#developers)

 [技術支援](https://wordpress.org/support/plugin/toggleable-admin-bar/)

## 外掛說明

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.

## 安裝方式

 1. Upload `toggleable-admin-bar.php` to the `/wp-content/plugins/` directory.
 2. Activate the plugin through the ‘Plugins’ menu in WordPress. That’s it!

## 常見問題集

### What does this plugin do to my admin bar?

It simply shifts the admin bar up above the screen, thus taking it out of the viewport.
It adds a toggle button with an arrow indicator to the right hand side of your admin
bar (placed to the bottom so that it’s always visible), when this button is clicked,
the admin bar shifts back into view, and can be toggled back out of view again!

### What happens if the user doesn’t have JavaScript enabled?

As long as your theme has the “no-js” class on the “html” tag by default (most themes
do), nothing! The plugin falls back to old admin bar in this case.

## 使用者評論

![](https://secure.gravatar.com/avatar/18d539cb813222a867bae775e521b85bbb66f3aebbf5274670ae3bf1d3bdc83c?
s=60&d=retro&r=g)

### 󠀁[Love this plugin](https://wordpress.org/support/topic/love-this-plugin-1102/)󠁿

 [Bulk Ranker](https://profiles.wordpress.org/curranvw/) 2021 年 12 月 11 日

This plugin is super handy for seeing my designs without the admin bar. I would 
love if it also had a one-click “edit with Elementor” button alongside the edit 
page icon – but great plugin regardless!

 [ 閱讀全部 1 則使用者評論 ](https://wordpress.org/support/plugin/toggleable-admin-bar/reviews/)

## 參與者及開發者

以下人員參與了開源軟體〈Toggleable Admin Bar〉的開發相關工作。

參與者

 *   [ Xanthonius ](https://profiles.wordpress.org/xanthonius/)

[將〈Toggleable Admin Bar〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/toggleable-admin-bar)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/toggleable-admin-bar/)、
查看 [SVN 存放庫](https://plugins.svn.wordpress.org/toggleable-admin-bar/)，或透過
[RSS](https://plugins.trac.wordpress.org/log/toggleable-admin-bar/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/toggleable-admin-bar/)。

## 變更記錄

#### 1.0

 * Initial plugin creation.

#### 1.1

 * Added a quick link to the dashboard, and a quick link to edit the current page/
   post being viewed.

#### 1.2

 * Fixed responsive styles + no-js styles.

#### 1.3

 * Moved JS to footer to eliminate render blocking.

## 中繼資料

 *  版本 **1.3.1**
 *  最後更新 **5 年前**
 *  啟用安裝數 **200+**
 *  已測試相容的 WordPress 版本 **5.8.13**
 *  語言
 * [English (US)](https://wordpress.org/plugins/toggleable-admin-bar/)
 * 標籤:
 * [adminbar](https://tw.wordpress.org/plugins/tags/adminbar/)[links](https://tw.wordpress.org/plugins/tags/links/)
   [quick](https://tw.wordpress.org/plugins/tags/quick/)[quicklinks](https://tw.wordpress.org/plugins/tags/quicklinks/)
   [toggle](https://tw.wordpress.org/plugins/tags/toggle/)
 *  [進階檢視](https://tw.wordpress.org/plugins/toggleable-admin-bar/advanced/)

## 評分

 5 星，滿分為 5 星

 *  [  1 個 5 星使用者評論     ](https://wordpress.org/support/plugin/toggleable-admin-bar/reviews/?filter=5)
 *  [  0 個 4 星使用者評論     ](https://wordpress.org/support/plugin/toggleable-admin-bar/reviews/?filter=4)
 *  [  0 個 3 星使用者評論     ](https://wordpress.org/support/plugin/toggleable-admin-bar/reviews/?filter=3)
 *  [  0 個 2 星使用者評論     ](https://wordpress.org/support/plugin/toggleable-admin-bar/reviews/?filter=2)
 *  [  0 個 1 星使用者評論     ](https://wordpress.org/support/plugin/toggleable-admin-bar/reviews/?filter=1)

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

[查看全部使用者評論](https://wordpress.org/support/plugin/toggleable-admin-bar/reviews/)

## 參與者

 *   [ Xanthonius ](https://profiles.wordpress.org/xanthonius/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/toggleable-admin-bar/)