Hide Admin Bar Based on User Roles

Description

This plugin is very useful to hide admin bar based on selected user roles and user capabilities.

Simple but great plugin. 🙂
wptoolsdev

Works flawlessly! 🙂
thebrazeneye

Features

  1. Hide Admin Bar for All Users => By using this feature you can hide admin bar from frontend for all user types.(User Roles)

  2. Hide Admin Bar for All Guests Users => By using this feature you can hide admin bar from frontend for all guest users / Non logged in users.

  3. User Roles => In this option you can choose user roles to hide admin bar for that specific user roles.

  4. Capabilities Blacklist => Now you can hide admin bar based on user capabilities as well. ( Like manage_options etc…)

You can check our other plugins:

  1. Disable Block Editor FullScreen mode
  2. The Essential WordPress Toolkit – UltimaKit For WP

UltimaKit For WP

The Essential WordPress Toolkit. Enhance your site with powerful features like SVG upload, user export, Gutenberg customization, admin bar control, pixel tag management, and more! Our powerful toolkit includes essential features like:

Effortless Email Setup: Enhance deliverability and customize your transactional emails with our SMTP Email integration.
Streamlined Maintenance: Put your site into Maintenance Mode with a single click for updates and changes.
Duplicate Content Control: Easily manage Duplicate Posts, Pages, and Menus to boost SEO and streamline your workflow.
Custom Code Made Easy: Add and manage Code Snippets without directly editing theme files.
SVG Support: Securely upload and use scalable vector graphics (SVG files) for crisp visuals on your website.
Gutenberg Customization: Take control of the Gutenberg editor, disabling it entirely or managing specific elements.
Enhanced Security: Protect your website with Limit Login Attempts and other security features.

Free Modules

  1. Block “Admin” Username – Verify if the primary user account is still named “admin.” This makes it easier for malicious users to target the account with the highest privileges.
  2. Clean User Profiles – Clean up user profiles by removing unused sections.
  3. Cleanup Admin Bar – Remove various elements from the admin bar.
  4. Disable Dashboard Widgets – Improve dashboard performance by disabling widgets. Disabled widgets won’t load assets or appear in Screen Options.
  5. Disable Gutenberg Editor – Disable Gutenberg blocks editor and replace it with simple quicktags editor.
  6. Disable Gutenberg Widgets – Disable widgets Gutenberg and replace it with simple classic mode.
  7. Disable RSS Feeds – Disable all RSS feeds
  8. Disable User Enumeration – Disabling User Enumeration is a security module designed to detect and prevent hackers scanning your site for user login names.
  9. Disable XML-RPC – Disable XML-RPC.
  10. Duplicate Pages & Posts – Duplicate pages and posts on the fly as you need to.
  11. Enhance List Tables – Boost functionality of listing pages by adding or removing columns and elements for posts, media, and users.
  12. Hide Admin Bar – Hide Admin Bar for non-admin users.
  13. Hide Admin Notices – Clean up admin pages by moving notices into a separate panel easily accessible via the admin bar.
  14. Hide WordPress Version Number – It will help you to remove the WordPress version.
  15. Navigation Menu Visibility – This module offers greater control over your navigation menu by enabling visibility controls to be applied to the menu.
  16. Open All External Links in the New Tab – This feature lets you link to external URLs from your posts or pages, directing visitors to another website.
  17. Pixel Tag Manager – Pixel Tag Manager integrates your website with Google, Facebook, and Pinterest IDs for seamless tracking and analytics.
  18. Post & Page Order – Drag and drop pages to re-order page and post into a custom order.
  19. Quick Add Post – A new button to quickly add new posts to speed up your workflow.
  20. Redirect 404 to Homepage – Redirects visitors to your homepage when they attempt to access a non-existent page, ensuring they remain on your site.
  21. SVG Upload – Files can only be uploaded by logged in users.
  22. User Last Login Timestamp – Displays the exact date and time a user last logged into your website, helping you track user activity.
  23. Wider Admin Menu – Give the admin menu more room to better accommodate wider items.

UltimaKit For WP is expanding: 50+ modules are in development…

Screenshots

  • As per Screenshot #1, you can hide admin bar for all users from frontend by selecting Hide for All checkbox.
  • As per Screenshot #2, You can hide Admin Bar from frontend based on selected user roles and capabilities.

Installation

Please follow below instructions to install this plugin to your WordPress website.

e.g.

  1. Unpack the entire contents of this plugin zip file into your wp-content/plugins/ folder locally
  2. Upload to your site
  3. Navigate to wp-admin/plugins.php on your site (your WP plugin page)
  4. Activate this plugin

OR you can just install it with WordPress Admin Panel by going to Plugins / Add New and type this Hide Admin Bar Based on User Roles.

FAQ

Is this plugin works with latest WordPress 6+ versions?

Yes, It is compatible with latest WordPress versions 3.9+

Is it compatible with other 3rd party plugins and themes?

Yes, It works fine with any 3rd party WordPress themes and plugins.

Is this plugin hide admin bar for guest users as well?

Yes, This plugin hides admin bar for guest users as well.

Reviews

juli 6, 2022 4 replies
I had to uninstall this plugin. After a recent update – I’m not sure when – the admin bar appeared for all users on the front end, whether they were logged in or not. Apparently, the update requires you to opt out of that functionality. That is literally the opposite of what the plugin was supposed to do. Since I’m more or less always logged in to the site, I didn’t realize the admin bar was appearing on the front end for over a week.
aprĂ­l 5, 2022 1 reply
I usually don’t take time to give reviews, this thing is quick and magic! thank you!
januar 18, 2022 1 reply
When activated the admin panel is still accessible by typing /wp-admin/ after the site address! How to disable real access?
Read all 20 reviews

Contributors & Developers

“Hide Admin Bar Based on User Roles” is open source software. The following people have contributed to this plugin.

Contributors

“Hide Admin Bar Based on User Roles” has been translated into 3 locales. Thank you to the translators for their contributions.

Translate “Hide Admin Bar Based on User Roles” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

1.0

First release

1.1

Fixed some bugs and improvements.

1.2

Fixed some bugs and improvements and new feature added -> Hide admin bar for all guest users.

1.3

Code Improvements, GUI Updated.

1.4

Code Improvements, GUI Updated, New Feature Integration.

1.5

Bug Fixes & Improvements

1.6

Bug Fixes & Improvements

1.6.1

Bug Fixes & Improvements

1.7.0

Bug Fixes & Improvements

1.8.0

Bug Fixes & Improvements

2.0.0

Bug Fixes & Improvements

2.1.0

Improvements

2.2.0

Improvements

2.3.0

Improvements

2.4.0

Improvements

2.5.0

Improvements

2.6.0

Improvements

2.7.0

Improvements & Fixes

2.8.0

Improvements & Fixes

2.9.0

Improvements & Fixes

3.0.0

Security Fixes and Improvements.

3.1.0

Security Fixes and Improvements.

3.2.0

Security Fixes and Improvements.

3.3.0

Security Fixes and Improvements and multisite support added.

3.4.0

Security Fixes and Improvements and multisite support reverted.

3.4.1

Security Fixes and Improvements.

3.5.0

Security Fixes and Improvements.

3.5.1

Security Fixes and Improvements.

3.5.2

Security Fixes and Improvements.

3.5.3

Compatibility tested & Tested with the latest WordPress version.

3.5.4

Compatibility tested & Tested with the latest WordPress version.

3.5.5

Compatibility tested & Tested with the latest WordPress version.

3.5.6

Compatibility tested & Tested with the latest WordPress version.

3.6.0 – 02-08-2023

Compatibility tested & Tested with the latest WordPress version.

3.6.1 – 01-10-2023

Compatibility tested & Tested with the latest WordPress version.

3.6.2 – 09-11-2023

Compatibility tested & Tested with the latest WordPress version.

3.7.0 – 01-01-2024

Compatibility tested & Tested with the latest WordPress version.

3.7.1 – 06-02-2024

Compatibility tested & Tested with the latest WordPress version.

3.7.2 – 03-03-2024

Compatibility tested & Tested with the latest WordPress version.

3.8.0 – 15-05-2024

Compatibility tested & Tested with the latest WordPress version & UltimaKit For WP support added.

3.8.1 – 24-05-2024

Compatibility tested & Tested with the latest WordPress version.