=== Remove Profile Dropdown in Admin Bar  ===
Contributors:  WPZOOM, ciorici
Tags: admin bar, profile, dropdown, howdy, toolbar, hide admin bar
Requires at least: 6.4
Tested up to: 7.1
Requires PHP: 7.4
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Stable tag: 1.1.0

== Description ==

Simple plugin to hide the annoying profile dropdown that opens when you accidentally hover the "Howdy" item in the admin bar. A plain **Log Out** link is added in its place.

Since version 1.1.0 the plugin can also get the whole admin bar out of your way on the front end of your site:

* Click the small arrow at the far right of the admin bar to remove the bar completely, including the space it reserves at the top of the page.
* While the bar is hidden, hover the top-right corner of the window and a small arrow button appears. Click it to bring the admin bar back.
* Your choice is remembered per browser, and applied before the page is painted, so there is no flash of the bar on the next page load.
* The `admin-bar` body class is removed while the bar is hidden, so theme styles that offset sticky headers for the admin bar no longer apply.

The hide/show feature only affects the front end. The WordPress dashboard is left untouched.

== Installation ==

Simply search for the plugin name via the **Plugins -> Add New** dialog and click install, or download and extract the plugin, and copy the plugin folder into your wp-content/plugins directory and activate.

== Frequently Asked Questions ==

= Where is the arrow to hide the admin bar? =

On the front end of your site, at the far right end of the admin bar, next to the "Howdy" item.

= How do I get the admin bar back? =

Move your mouse to the top-right corner of the browser window. A small round arrow button fades in. Click it and the bar returns.

= Is the hidden state shared between users or devices? =

No. It is stored in your browser (localStorage), so it applies only to that browser on that device.

== Changelog ==

= 1.1.0 =
* New: arrow in the admin bar (front end only) that removes the bar completely
* New: hover the top-right corner of the window to reveal a button that brings the bar back
* The hidden state is remembered per browser and applied before first paint
* The `admin-bar` body class is removed while the bar is hidden

= 1.0.1 =
* Confirmed compatibility with WordPress 7.1
* The Log Out link is now translatable and no longer depends on the core logout node
* Added a direct file access guard

= 1.0.0 =
* Initial release
