Linux 软件免费装
Banner图

OffCanvas / Drawer – Responsive Slide-In Drawer & Popup System

开发者 abuhayat
charlescormier
bplugins
freemius
asadsuzan
更新时间 2026年6月11日 18:01
捐献地址: 去捐款
PHP版本: 7.1 及以上
WordPress版本: 7.0
版权: GPLv3 or later
版权网址: 版权信息

标签

popup slide menu block drawer offcanvas

下载

2.0.2 1.0.0 1.0.1 2.0.3 2.0.1 2.0.4 2.0.0 2.0.5

详情介绍:

OffCanvas / Drawer is a flexible, highly customizable, and lightweight WordPress Gutenberg block that lets you design slide-in drawers, off-canvas navigation menus, and popup panels that slide in from any direction: left, right, top, or bottom. Perfect for mobile navigation menus, WooCommerce shopping cart sidebars, newsletters, exit-intent popups, slide-out contact forms, site announcements, and help desks — all without writing a single line of code. Built natively for the WordPress Block Editor, it supports InnerBlocks, meaning you can place any other Gutenberg blocks (paragraphs, images, forms, custom widgets) directly inside the OffCanvas drawer. It also features a custom shortcode generator allowing you to save layouts and embed them anywhere on your site using the [offcanvas-block id="POST_ID"] shortcode. The plugin is fully responsive, SEO-friendly, performance-optimized, and built to integrate seamlessly with any WordPress theme.

安装:

From the WordPress Dashboard
  1. Navigate to Plugins → Add New.
  2. Search for OffCanvas Block.
  3. Click Install Now and then Activate.
Manual Installation
  1. Download the plugin ZIP file from the WordPress Plugin Directory.
  2. Log in to your WordPress admin dashboard and go to Plugins → Add New → Upload Plugin.
  3. Choose the ZIP file, upload, and click Activate.
Adding the Block
  1. Open the Gutenberg editor on any page, post, or template.
  2. Click the + icon (Add Block) and search for OffCanvas.
  3. Click to insert it, configure settings in the inspector sidebar, and populate the content area with Gutenberg blocks.

屏幕截图:

  • Responsive position configurations (Left, Right, Top, Bottom).
  • Custom Trigger Selector settings for binding external CSS classes/IDs.
  • Smart Auto Trigger: Target Section in View.
  • Smart Auto Trigger: Scroll Depth Trigger.
  • Smart Auto Trigger: Exit Intent Detection.
  • Smart Auto Trigger: Time-based Delay Trigger.
  • Smart Auto Trigger: User Inactivity Trigger.

升级注意事项:

2.0.1 Improved trigger button experience with ripple effect, adds custom close icon and position options, and extends popup header background and title controls. 2.0.0
  • Major Upgrade: New interaction system, smart triggers, design controls, and improved UI/UX.
1.0.0
  • Initial Release.

常见问题:

Does this block work with Full Site Editing (FSE)?

Yes! OffCanvas Block is fully compatible with block-based themes and FSE templates, headers, footers, and page layouts.

Can I use the OffCanvas drawer as a WooCommerce mini-cart?

Yes. You can insert the WooCommerce Cart block (or any cart block/shortcode) inside the OffCanvas content area and use the CPT shortcode to trigger it from your main menu cart button.

How do I open the OffCanvas panel from a theme navigation menu link?

In the Pro version, you can assign a custom class (e.g., open-my-drawer) to your navigation menu item in WordPress, and enter that selector (.open-my-drawer) in the Custom Trigger Selector setting.

Can I limit how often the popup triggers appear to a single user?

Yes. The Pro version includes a Smart Trigger Frequency control, allowing you to limit trigger appearances to "Once per session" or "Once per day" utilizing local storage and session storage.

What happens if I have multiple OffCanvas blocks on the same page?

The plugin handles multiple instances perfectly. Each block generates its own unique wrapper class and isolated trigger events. In version 2.0.4+, smart triggers also use block-specific storage keys to prevent collisions.

更新日志:

2.0.5 (23 May, 2026) 2.0.4 (07 Apr, 2026) 2.0.3 (22 Feb, 2026) 2.0.2 (17 Feb, 2026) 2.0.1 (02 Jan, 2026) 2.0.0 – 26 Nov 2025 Major Upgrade: New interaction system, smart triggers, design controls, and improved UI/UX. 1.0.1 – 30 Sep 2024 1.0.0