Auto Hide Admin Bar

外掛說明

Auto Hide Admin Bar 能隱藏 WordPress 工具列,而游標在瀏覽器視窗頂端暫留時會再次顯示,這樣網站會得到精簡的檢視方式,同時也能保有對工具列的存取。如果有任何意見需要反應,或使用上有任何問題,請前往外掛技術支援論壇 https://wordpress.org/support/plugin/auto-hide-admin-bar。

安裝方式

  1. 將解壓縮所得的 auto-hide-admin-bar 目錄上傳至 /wp-content/plugins/ 目錄。
  2. 在 WordPress 管理後台的 [外掛] 選單中啟用外掛。
  3. 準備就緒,網站現在能自動隱藏工具列。

常見問題集

如何將這個外掛本地化為使用者的母語?

請前往 https://translate.wordpress.org/projects/wp-plugins/auto-hide-admin-bar 便能將這個外掛本地化為使用者的母語 (需要 PTE 權限)。

使用者評論

2020 年 9 月 7 日
The admin bar still pops up when you hover your mouse over the top of the screen but disappears when the mouse is moved away.
2019 年 3 月 29 日
As a designer I hate the tool bar maring up my design this keeps all the functionality and helps me maintain my sanity. Thanks for this great plugin.
2018 年 3 月 20 日
Great little plugin! Definitely should be a default option in WP.
閱讀全部 30 則使用者評論

參與者及開發者

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

參與者

Auto Hide Admin Bar 外掛目前已有 4 個本地化語言版本。 感謝全部譯者為這個外掛做出的貢獻。

將 Auto Hide Admin Bar 外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.4.3

  • Updated donate link

1.4.2

  • Fixed issue with PHP 7.4.
  • Removed Admin settings, since they were not used.

1.4.1

1.4

1.3.1

  • Fixed SSL mixed content issue. Props: @steveec-1, topic: https://wordpress.org/support/topic/ssl-mixed-content-9/

1.3

  • Fixed issue when using Beaver Builder 2.x+.

1.2.4

  • Fixed issue with keyboard shortcut labels. Please save your settings when the shortcut is not working.

1.2.3

  • Fixed issue with keyboard shortcut not working. Key was not picked up correctly.

1.2.2

  • Fixed issue with user roles.

1.2.1

  • Fixed issue because of not checking for availability of variable.

1.2

  • Added setting to disable the plugin for any available user role.
  • Added keyboard shortcut setting. Now you can show and hide the Toolbar with a keyboard shortcut! Thanks for the feature request photoMaldives (https://wordpress.org/support/topic/very-useful-works-exactly-as-expected/).
  • Added donate link as plugin actions. Want to donate? Go here: https://nostromo.nl/wordpress-plugins/auto-hide-admin-bar/
  • Added donate link in plugin settings
  • Moved version number in plugin settings screen to bottom

1.1

  • Moved inline Javascript code to external file and have it registered and enqueued.
    Thanks iCounsellorUK fro reporting this: https://wordpress.org/support/topic/assumes-jquery-loads-first/

1.0.3

  • Fixed logged in detection, replaced test for class .logged-in to test for #wpadminbar, which is universal and dependent on theme developers.
    Thanks wloske for this suggestion – https://wordpress.org/support/topic/not-working-for-me-140

1.0.2

  • Added load_textdomain() function.

1.0.1

  • Something went wrong in SVN, fixed it with this new commit.

1.0

  • Internationalized the plugin, which was a good reason to increase version to 1.0 🙂

0.9.2

  • Fixed ‘ReferenceError: adminBarIn is not defined’ bug
  • Updated hoverIntent jQuery plugin to version 1.8.1

0.9.1

  • Code will not execute when in WordPress customizer view, to prevent top of page cut-off

0.9

  • Changed description
  • Moved settings page to settings menu.
  • Minor code cleaning/reorganization
  • Fixed some typo’s in strings.
  • Fixed the hidden div (the one that triggers te re-appearance of the Toolbar) to not be added on window resize. We only need one…

0.8.2

  • Changed loading of scripts to wp_footer
  • Changed wrapping of jQuery anonymous function to use a document ready function to prevent compatibility issues

0.8.1

  • Replaced get_current_theme() with wp_get_theme(). Thanks to ElectricFeet via Support Forum; https://wordpress.org/support/topic/wp_debug-gives-message-that-get_current_theme-is-deprecated

0.8

  • Some CSS changes due to larger Toolbar in WordPress 3.8
  • Added option for hiding/showing the Toolbar on small screens
  • Added support for Twenty Fourteen. Need to think of a solid way to support themes with fixed headers/navigation. Tips are welcome.

0.7

  • Removed external jQuery library.
  • Added options page.
  • Added options for animation speed, delay and mouse polling interval.

0.6.3

  • Changed background-position to background-position-y, because of IE8 problem (of course…). Thanks to per (feja@home.se) for submitting the bug, and the jQuery bugtracker for the hint: http://bugs.jquery.com/ticket/11838

0.6.2

  • Added style adjustment for body background.

0.6.1

  • Switched wp_enqueue_script sequence for jquery and jquery.hoverintent due to problems.

0.6

  • By request, added delay for showing/hiding the Admin Bar. A settings page will be included in the future.

0.5

  • Changed position of hidden div to fixed, so the admin bar is showed also when you have scrolled down on your site.

0.4

  • Changed jQuery enqueue manner. Now using the wp_print_scripts hook. Thanks to Ralph from zonebattler.net for mentioning this bug.

0.3

  • Added – Only activate the plugin when a user is logged in.

0.2

  • Added – wp_enqueue_script for jQuery

0.1

  • Initial Release