=== AddonLogic Off-Canvas Sidebar Menu ===
Contributors: snehalpancholi
Tags: off-canvas, sidebar menu, navigation, hamburger, panel
Requires at least: 6.0
Tested up to: 6.7
Stable tag: 1.0.0
Requires PHP: 8.1
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

A configurable toggle button reveals a smooth off-canvas sliding panel containing any WordPress menu or widget area.

== Description ==

AddonLogic Off-Canvas Sidebar Menu adds a floating toggle button to your site. Clicking it slides in a full-height panel from the left or right edge of the screen, containing either a registered navigation menu or any registered sidebar/widget area.

**Features:**

* Show any registered WordPress navigation menu inside the panel.
* Alternatively, display any registered sidebar (widget area).
* Choose left or right slide-in direction.
* Fully configurable panel width, background color, and text color.
* Overlay click and Escape key both close the panel.
* Optional × close button inside the panel.
* Body scroll locked while panel is open.
* ARIA attributes for accessibility.
* Zero dependencies — pure CSS + vanilla JS.

== Installation ==

1. Upload the `off-canvas-sidebar-menu` folder to `/wp-content/plugins/`.
2. Activate the plugin.
3. Go to **Settings → Off-Canvas Menu** to configure the menu, colors, and position.

== Changelog ==

= 1.0.0 =
* Initial release.

== FAQ ==

= The toggle button covers other content — can I move it? =
Override `.addlc-ocs-toggle` in your theme CSS to reposition it using `bottom`, `top`, `left`, or `right` properties.

= My theme does not call `wp_body_open()` — will the panel still appear? =
Add `<?php wp_body_open(); ?>` immediately after your theme's opening `<body>` tag, or use a hook override in your child theme.
