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

WP Custom Admin Bar

外掛說明

A really simple and easy to use plugin to help gain control of the new Admin Bar.
This gives you options to change who sees the Admin Bar based on their user role,
change or override the default styling or remove the Admin Bar altogether.
It adds a menu to the Admin Bar which gives you the ability to disable it on a
single page or sitewide for a single browser session.

WP Custom Admin Bar supports Custom Roles.

Donations

Contact Me

螢幕擷圖

安裝方式

  1. Extract ‘wp-custom-admin-bar’ and transfer it to the ‘/wp-content/plugins/’ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Visit the setting page to customize your admin bar (be sure to save your settings!)

常見問題集

Can I disable the Admin Bar for just one browsing session or on just one specific page?

Yes you can! As of version 1.0 there is a menu item in the admin bar to disable the
bar on a page by page basis or for the entire site. This setting is for a single browser
session, so if you close your browser the settings reset.

When I disable the Admin Bar for a given User Role, does it hide the options in their profile page?

Yes. Thanks to Rick for the suggestion.

Does this plugin support custom roles?

Yes! This feature was added in version 1.3.0

For any other questions:
Contact Me

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

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

參與者

將〈WP Custom Admin Bar〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

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

變更記錄

1.3.4

  • Added donation buttons

1.3.4

  • Updated the default styling content to the new WordPress base admin bar css
  • Added an option to reset the css to the default. (It is recommended that people upgrading do this to get the updated class names.)
  • Added helper text for the “Hide Site Wide” and “Hide For This Page” options.
  • Added an activation hook to instantiate the options

1.3.3

  • Removed the Custom Admin Bar menu from displaying while in the WordPress admin

1.3.2

  • The styles applied using the plugin now apply in the admin area

1.3.1

  • Bug fix: Sometimes $wp_roles is not created yet, so check for that and create it if it isn’t

1.3.0

  • Added support for custom roles
  • Added a description of the “Content Bump” in the admin menu

1.2.1

  • Bug fix: margin was still applied if Admin Bar was hidden on a single page

1.2

  • Hide Admin Bar options on the profile page for everyone if the Admin Bar is completely disabled
  • Bug fixes
  • Changed ‘cab_hide_by_page’ to fire on the ‘wp’ action

1.1

  • Hide the Admin Bar options on the profile page for users who have the admin bar disabled by the plugin
  • Check on SESSION[‘cab_disabled_pages’] to make sure it is an array before disabling pages

1.0

  • Added Admin Bar Menu to Admin Bar
  • Session based disabling for whole site or single page