Linux 软件免费装
Banner图

SideMenu

开发者 domainsupport
更新时间 2026年8月14日 21:28
捐献地址: 去捐款
PHP版本: 7.0 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

mobile menu side menu sidebar menu sliding menu off canvas menu

下载

1.8 1.4.8 1.6.8 1.7.6 1.3.3 1.3.4 1.4.1 1.4.2 1.3.1 1.4.0 1.8.8 1.1.4 1.1.5 1.1.6 1.1.7 1.3.6 1.3.7 1.3.8 1.4.3 1.2.1 1.4.9 1.5.0 1.5.3 1.5.8 1.5.9 1.6.0 1.6.1 1.5.5 1.5.7 1.6.2 1.2.7 1.2.8 1.6.4 1.6.5 1.4.5 1.5.4 1.6.3 1.6.7 1.2.5 1.1.3 1.3.5 1.3.9 1.4.4 1.7.0 1.7.1 1.7.2 1.3.2 1.6.9 1.7.4 1.7.5 1.4.6 1.2.2 1.7.8 1.8.3 1.2.4 1.2.0 1.2.6 1.3.0 1.4.7 1.5.1 1.5.6 1.7.3 1.8.1 1.8.4 1.8.5 1.8.6 1.1.8 1.1.9 1.2.3 1.2.9 1.5.2 1.6.6 1.7.7 1.7.9 1.8.2 1.8.7 1.8.9 1.9.0 2.0

详情介绍:

SideMenu adds an off-canvas panel that slides in from the side of your site and can be opened from a block button placed in your content, templates or template parts. Version 2.0 introduces a block-first workflow for modern WordPress sites. Create reusable SideMenu content in the editor, choose the default SideMenu content for free blocks, then place the "SideMenu Open Button" block wherever visitors should be able to open the panel. The block workflow is ideal for block themes and Full Site Editing because the SideMenu button can live directly in a template, header, navigation area, page or post. Key features How to use the SideMenu block
  1. Go to "SideMenus" in the WordPress admin and add the content you want to show in the sliding panel.
  2. Add the "SideMenu Open Button" block to a post, page, template or template part.
  3. Set the button text and choose whether to show a hamburger icon.
  4. Choose the default SideMenu content from the editor's SideMenu settings panel.
The free block uses one default SideMenu content item. Developers can filter the block content ID with the sidemenu_block_content_id filter. Classic theme and classic SideMenu support Classic SideMenu features are still available when your site uses a classic theme, or when the plugin detects existing classic SideMenu usage. This keeps existing shortcodes, widget sidebars, menu locations, mobile menu hijacks and Customizer settings working while giving block themes a cleaner setup path. On classic themes, SideMenu loads the original Customizer-driven runtime. This provides the traditional SideMenu sidebar, menu location, shortcode, mobile menu hijack options and classic styling controls. If you move an older site to a block theme, SideMenu checks for existing classic usage and keeps the classic runtime available when it finds classic SideMenu blocks, shortcodes, open links, widgets, menu locations or mobile menu hijack settings. How to use the [sidemenu] shortcode Classic shortcode support is still available when the classic runtime is active. To add a class to a menu item, go to "Appearance - Menus", open "Screen Options" and enable "CSS Classes". To add a class to a block widget, select the block in "Appearance - Widgets", open the "Advanced" panel and use "Additional CSS class(es)". How to open SideMenu from a link To use a normal link as a SideMenu button, give it the open_sidemenu class: <a href="#" class="open_sidemenu">Example Link</a> To use an anchor link, set the link URL to #open_sidemenu. For classic filtered content, add a dash and the class name to the anchor. For example, #open_sidemenu-testclass opens SideMenu and shows classic content marked with the testclass class. Supported mobile menu hijacks SideMenu can hijack the existing mobile menu button in a range of themes, including:

安装:

  1. Install "SideMenu" automatically from the WordPress plugin directory, or upload the plugin ZIP file.
  2. Activate the plugin from the "Plugins" screen in WordPress.
  3. For block themes, add your panel content under "SideMenus" and place the "SideMenu Open Button" block where you want the button.
  4. For classic themes, add the SideMenu button to a menu, widget or post, then add widgets to the SideMenu sidebar or assign a menu to the SideMenu display location.
  5. Adjust any classic settings in "Customizer - SideMenu" when classic mode is active.

升级注意事项:

2.0 SideMenu now requires WordPress 6.2 or later and introduces the new block-first SideMenu workflow while preserving detected classic usage.

常见问题:

Where are the SideMenu settings?

For block themes, reusable SideMenu content is managed under "SideMenus" in the WordPress admin. The default SideMenu content can be chosen from the editor's SideMenu settings panel. For classic themes and existing classic SideMenu usage, settings are available in "Customizer - SideMenu".

Why can I not see the classic Customizer settings on my block theme?

On block themes, SideMenu only loads the classic Customizer settings when a classic trigger is detected. Add and save a classic SideMenu block, shortcode or open_sidemenu trigger in published content, an active widget area or an assigned classic navigation menu, or enable the mobile menu hijack setting if your site still needs the classic runtime.

Can different buttons open different SideMenu content?

Classic SideMenu buttons can filter widget and menu content by class. The free SideMenu block uses one default SideMenu content item.

Does SideMenu still support widgets and menus?

Yes. Widget sidebar and menu location support remain available through the classic runtime.

更新日志:

2.0