Det här tillägget har inte testats med någon av de 3 senaste huvudversionerna av WordPress. Det kanske inte längre underhålls och kan ha kompatibilitetsproblem när det används tillsammans med nyare versioner av WordPress.

Clean Admin Bar Removal

Beskrivning

Clean Admin Bar Removal offers a simple solution to a small problem in WordPress 3.2 and 3.3. In these new versions, the top ”admin bar” is shown on the public site by default for all users. This has been inconvenient on some of the sites we manage, where the WordPress admin area is otherwise ”behind the scenes” for some logged in users, or where the top admin bar is incompatible with the site’s layout. 

To solve this problem, Clean Admin Bar Removal disables the toolbar in existing users’ preferences and changes the default setting for new users. Once a site administrator installs the plugin, they can choose which behavior to use on their site by user role. Users can restore the admin bar in their individual preferences by choosing ”Show Toolbar when viewing site” if needed.

I hope some of you find this plugin helpful. It is offered for free under the GPL-2 license with no support or warranty, but has already been put into production on several of our sites and is working well. Please feel free to leave a comment here with any questions or problems: http://fabapps.com/2012/01/clean-admin-bar-removal/

Contact

To contact the plugin author, please leave a comment at
http://fabapps.com/2012/01/clean-admin-bar-removal/

Skärmdumpar

  • Settings > Clean Admin Bar
  • The Admin Bar this plugin this plugin refers to

Installation

  1. Upload clean-admin-bar-removal to the /wp-content/plugins/ directory
  2. Activate the plugin through the ’Plugins’ menu in WordPress
  3. Visit Settings > Clean Admin Bar to set up the plugin behavior

Vanliga frågor

Does this plugin remove the Admin Bar completely?

No, it only changes user preferences so that the admin bar is hidden by default. Users can restore the admin bar in their individual preferences by choosing ”Show Toolbar when viewing site” if needed.

I’m still seeing the admin bar, is this working?

If the admin bar is turned off but appears anyway, try logging out and logging back in. It also seems to turn itself back on if you have multiple sites running on the same domain with different admin bar preferences.

Recensioner

3 september 2016
Clean is a good way of putting it. This plugin, though it hasn’t been updated for two years as of this writing, still works well on the current Wordpress platform I’m using. It has easy to find controls (under tools) and allows you to set different permissions regarding what user level sees the admin bar or not on your site. Other plugins tend to overdo hiding the bar by removing it entirely on both front and back ends, with little to no control on how it’s done. I wanted an easy plugin that would hide the bar only on the front end for the roles chosen and this turned out to be among the best I’ve found. Simple, easy, and intuitive. No hidden controls or buggy behavior. Give it a try.
Läs alla 2 betyg

Bidragsgivare och utvecklare

”Clean Admin Bar Removal” är programvara med öppen källkod. Följande personer har bidragit till detta tillägg.

Bidragande personer

Översätt ”Clean Admin Bar Removal” till ditt språk.

Intresserad av programutveckling?

Läs programkoden, kika på SVN-filförvaret eller prenumerera på utvecklarloggen via RSS.

Ändringslogg

1.0

  • First version