=== Hide Admin Bar Based on User Roles ===
Contributors: ankitmaru
Tags: admin bar, hide admin bar, hide toolbar, admin ui, admin customise
Plugin URI: https://xwpstack.com/plugins/hide-admin-bar  
Author: Ankit Panchal  
Author URI: https://xwpankit.com  
Requires at least: 5.5  
Tested up to: 6.8  
Requires PHP: 5.6  
Stable tag: 6.0.4
License: GPLv2 or later  
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Hide the WordPress admin bar for selected user roles, guest users, or capabilities. Lightweight and easy to configure.

== Description ==

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

**Key Features (Free):**
- Hide Admin Bar for All Users  
- Hide for Guest Users / Non-Logged-In  
- Hide by User Roles  
- Hide by User Capabilities  

**✨ New in v6.0.0 — Hide Admin Bar Pro is now available!**
** Auto-hide toolbar after delay (UX improvement) **
** Hide by device: mobile, tablet, desktop **
** Page-based targeting: show/hide on specific URLs **
** Per-user override: set always show/hide **
** Time-based visibility (e.g., hide at night) **
** Redirect when hidden **
** Import/export settings **
- All new logic modules conditionally loaded (no impact on free users)

https://www.youtube.com/watch?v=25WBldgArAk

https://www.youtube.com/watch?v=_BAwxGVnKNY

> Simple but great plugin. 🙂  
> - [wptoolsdev](https://wordpress.org/support/topic/simple-but-great-plugin-12/)

> Works flawlessly! 🙂  
> - [thebrazeneye](https://wordpress.org/support/topic/works-flawlessly-129/)

== Features ==

1. **Hide Admin Bar for All Users** — Hides the frontend toolbar for all logged-in users.
2. **Hide Admin Bar for All Guest Users** — Hides for non-logged-in visitors.
3. **User Roles** — Select specific roles like Editor, Subscriber, etc.
4. **Capabilities Blacklist** — Hide admin bar based on capability checks (`manage_options`, etc.)

== You can check our other plugins: ==
<ol>
<li><a href="https://wordpress.org/plugins/ultimakit-for-wp/">All-in-One WordPress Toolkit for SEO, Security, Customization, and Performance</a></li>
<li><a href="https://wordpress.org/plugins/like-dislike-for-wp/">Like Dislike For WP</a></li>
<li><a href="https://wordpress.org/plugins/disable-block-editor-fullscreen-mode/">Disable Block Editor FullScreen mode</a></li>
<li><a href="https://wordpress.org/plugins/noteflow/">NoteFlow – Smart Notes Manager for WordPress Admin</a></li>
</ol>

== Installation ==

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

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

**OR**  
Install it via Plugins → Add New → Search: *Hide Admin Bar Based on User Roles*

== Screenshots ==

1. Hide admin bar for all users
2. Hide by roles or capabilities

== Frequently Asked Questions ==

= 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.

= Do you offer a Pro version? =
Yes! Hide Admin Bar Pro unlocks advanced features like page-level targeting, device rules, per-user overrides, time-based logic, redirect after hide, and more. [Learn More](https://xwpstudio.com/plugins/hide-admin-bar/pro/)

== Changelog ==

= 6.0.4 - 27-08-2025 =
Fixed some bugs and improvements.

= 6.0.3 - 03-07-2025 =
Fixed some bugs and improvements.

= 6.0.2 - 03-06-2025 =
Fixed some bugs and improvements.

= 6.0.0 - 20-04-2025 =
* Major release: Pro version launched (optional, upgrade via Freemius)
* Added: Auto Hide Admin Bar (Pro)
* Added: Page-based, device-based, and time-based visibility modules (Pro)
* Added: Per-user override, redirect on hide, import/export
* Improved: Settings layout and compatibility with other plugins
* Refactored: Modular architecture for clean feature handling

= 5.2.0 - 02-04-2025 =
* I18N Issues Fixes
* Compatibility tested & Tested with the latest WordPress version.

= 5.0.0 - 16-02-2025 =
* Admin ui updated.
* Compatibility tested & Tested with the latest WordPress version.

= 4.1.0 - 28-12-2024 =
Compatibility tested & Tested with the latest WordPress version.

= 4.0.0 - 09-11-2024 =
Compatibility tested & Tested with the latest WordPress version.

= 3.9.1 - 30-10-2024 =
Compatibility tested & Tested with the latest WordPress version.

= 3.9.0 - 25-09-2024 =
Compatibility tested & Tested with the latest WordPress version.

= 3.8.3 - 13-08-2024 =
Compatibility tested & Tested with the latest WordPress version.

= 3.8.2 - 01-07-2024 =
Compatibility tested & Tested with the latest WordPress version.

= 3.8.1 - 24-05-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.7.2 - 03-03-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.0 - 01-01-2024 =
Compatibility tested & Tested with the latest WordPress version.

= 3.6.2 - 09-11-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.0 - 02-08-2023 =
Compatibility tested & Tested with the latest WordPress version.

= 3.5.6 =
Compatibility tested & Tested with the latest WordPress version.

= 3.5.5 =
Compatibility tested & Tested with the latest WordPress version.

= 3.5.4 =
Compatibility tested & Tested with the latest WordPress version.

= 3.5.3 =
Compatibility tested & Tested with the latest WordPress version.

= 3.5.2 =
Security Fixes and Improvements.

= 3.5.1 =
Security Fixes and Improvements.

= 3.5.0 =
Security Fixes and Improvements.

= 3.4.1 =
Security Fixes and Improvements.

= 3.4.0 =
Security Fixes and Improvements and multisite support reverted.

= 3.3.0 =
Security Fixes and Improvements and multisite support added.

= 3.2.0 =
Security Fixes and Improvements.

= 3.1.0 =
Security Fixes and Improvements.

= 3.0.0 =
Security Fixes and Improvements.

= 2.9.0 =
Improvements & Fixes

= 2.8.0 =
Improvements & Fixes

= 2.7.0 =
Improvements & Fixes

= 2.6.0 =
Improvements

= 2.5.0 =
Improvements

= 2.4.0 =
Improvements

= 2.3.0 =
Improvements

= 2.2.0 =
Improvements

= 2.1.0 =
Improvements

= 2.0.0 =
Bug Fixes & Improvements

= 1.8.0 =
Bug Fixes & Improvements

= 1.7.0 =
Bug Fixes & Improvements

= 1.6.1 =
Bug Fixes & Improvements

= 1.6 =
Bug Fixes & Improvements

= 1.5 =
Bug Fixes & Improvements

= 1.4 =
Code Improvements, GUI Updated, New Feature Integration.

= 1.3 =
Code Improvements, GUI Updated.

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

= 1.1 =
Fixed some bugs and improvements.

= 1.0 =
First release

== Upgrade Notice ==