=== Toggle Hide/Show Admin Bar ===
Contributors: jorgedelcampo
Donate link: https://www.linkedin.com/in/jorgedelcampoandrade/
Tags: admin bar, toggle, visibility
Requires at least: 5.0
Tested up to: 7.0
Requires PHP: 7.4
Stable tag: 1.1.3
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

A simple and customizable real-time toggle button to hide/show admin bar in front-end.

== Description ==

A simple and customizable real-time toggle button to hide/show admin bar in front-end.

== Installation ==

1. Upload the plugin files to the `/wp-content/plugins/toggle-hide-show-admin-bar` directory, or install the plugin through the WordPress plugins screen directly.
2. Activate the plugin through the 'Plugins' screen in WordPress.
3. Use the Settings->Toggle Admin Bar screen to configure the plugin.

== Frequently Asked Questions ==

= How to use the plugin? =

1. Go to Settings->Toggle Admin Bar to access to the plugin dashboard.
2. Set the button position, behavior (hover / always visible), background color and text color.
3. Save your changes and enjoy the plugin!

== Screenshots ==

1. Settings screen.
2. Button on the front-end.

== Changelog ==

= 1.1.3 =
* Added option to remember the last admin bar visibility state on page reload.
* Uses localStorage to persist user preference.
* New checkbox setting in admin panel to enable/disable this feature.

= 1.1.2 =
* MarginTop initial values saved to reuse when Hide option is disable.

= 1.1.1 =
* Reduce JS just to handle admin-bar.
* All CSS classes added in back-end.
* All button styles and effects handle from CSS stylesheet.
* Fix wrong behavior when bottom-right option is enable.

= 1.1.0 =
* Added uninstall.php file to clean up plugin options from the database upon deletion.
* Added function to check if admin bar is hidden for the current user.

= 1.0 =
* Initial release.