WP Custom Admin Bar Plugin
A really simple and easy to use plugin to help gain control of the new 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
Installation
- Extract ‘wp-custom-admin-bar’ and transfer it to the ‘/wp-content/plugins/’ directory
- Activate the plugin through the ‘Plugins’ menu in WordPress
- Visit the setting page to customize your admin bar (be sure to save your settings!)
Screenshots
FAQ
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
Changelog
1.3.4
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