Title: Vertical Menu Block for Sidebar Accordion Menu
Author: WPBean
Published: <strong>2025 年 1 月 11 日</strong>
Last modified: 2026 年 10 月 29 日

---

搜尋外掛

![](https://ps.w.org/vertical-sidebar-menu-block/assets/banner-772x250.png?rev=3220793)

![](https://ps.w.org/vertical-sidebar-menu-block/assets/icon-256x256.gif?rev=3220793)

# Vertical Menu Block for Sidebar Accordion Menu

 由 [WPBean](https://profiles.wordpress.org/wpbean/) 開發

[下載](https://downloads.wordpress.org/plugin/vertical-sidebar-menu-block.1.05.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/vertical-sidebar-menu-block/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/vertical-sidebar-menu-block/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/vertical-sidebar-menu-block/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/vertical-sidebar-menu-block/#developers)

 [技術支援](https://wordpress.org/support/plugin/vertical-sidebar-menu-block/)

## 外掛說明

**Vertical menu block** is a powerful and flexible Gutenberg block plugin that allows
you to create fully customizable vertical accordion menus for your WordPress website.
Built specifically for the WordPress block editor, this vertical menu block is ideal
for sidebars, navigation panels, and widget areas, helping you organize complex 
navigation structures in a clean and user-friendly way.

Using collapsible vertical sidebar menus improves overall site usability by allowing
visitors to expand and collapse submenus only when needed. This approach saves valuable
screen space, keeps layouts visually clean, and enhances readability—especially 
on mobile and tablet devices.

Designed with performance, accessibility, and flexibility in mind, the vertical 
menu block works seamlessly with the native Gutenberg editor and is compatible with
all modern WordPress themes. Whether you’re building a blog, portfolio, business
website, or WooCommerce store, this vertical menu block helps you deliver a professional,
responsive, and accessible navigation experience across all devices.

### Quick Links

👉 Upgrade to Pro: [Explore all Features of Vertical Sidebar Menu Block](https://wpbean.com/downloads/vertical-sidebar-menu-block-pro/?utm_content=Vertical+Sidebar+Menu+Block&utm_campaign=repository&utm_medium=desc-link&utm_source=WordPress)

👉 Live Demo with Menu: [Try Vertical Sidebar Menu Block Demo](https://elementorkit.wpbean.com/wordpress-vertical-sidebar-menu-block/)
👉 Live Demo with Product Categories: [Try Vertical Sidebar Menu Block Demo](https://elementorkit.wpbean.com/shop/)
👉 Support: [Support](https://wpbean.com/support/)

### Key Features

 * **Select Any Navigation Menu**: Easily choose and display any existing WordPress
   navigation menu.
 * **Menu Depth Control**: Define how many submenu levels to display for better 
   structure and usability.
 * **Accordion-Style Navigation**: Submenus expand and collapse smoothly for a clean,
   organized look.
 * **Auto-Expand Current Menu Item**: Automatically expands the menu to reveal the
   current page for improved navigation clarity.
 * **Persistent Expanded State**: Keeps menu items expanded after page reloads, 
   providing a consistent browsing experience.
 * **Advanced Typography Options**: Customize font family, size, and style separately
   for parent and child menu items.
 * **Flexible Styling Controls**: Adjust colors, backgrounds, spacing, and hover
   effects for parent, child, and active menu items.
 * **Theme Compatibility**: Works seamlessly with any modern WordPress theme and
   fully supports the Gutenberg block editor.
 * **Dedicated Support**: Receive expert assistance from a responsive support team
   whenever you need help.

### Source Code and Development

This plugin uses wp-scripts which comes with modern build tools like Webpack and
npm to generate production-ready files. The uncompressed source code is included
in the plugin’s `src/` directory for transparency and review. Developers can access
the source code directly or contribute via the GitHub repository.

To build the plugin from source:

 1. Install Node.js and npm.
 2. Run `npm install` to install dependencies.
 3. Use `npm run build` to compile the assets.

For more details, see the documentation in the WordPress developer resources:
 [WordPress Developer Resources – Get started with wp-scripts](https://developer.wordpress.org/block-editor/getting-started/devenv/get-started-with-wp-scripts/)

For details, see the documentation in the GitHub repository:
 [GitHub – Vertical Sidebar Menu Block](https://github.com/wpbean/Vertical-Sidebar-Menu-Block)

### Credits

This plugin includes a modified version of the [Navgoco jQuery plugin](https://github.com/tefra/navgoco)
by Tefra, which is licensed under the BSD-3-Clause License. Original library copyright
© Tefra. The modified version complies with the BSD-3-Clause License.

## 螢幕擷圖

[[

[[

[[

## 適用於區塊編輯器

這個外掛提供 1 個可供區塊編輯器使用的區塊。

 *   Vertical Menu Collapsible sidebar vertical sidebar menu block.

## 安裝方式

### Install and Activate the Plugin

 1. Download the plugin from the WordPress Plugin Repository.
 2. Navigate to your WordPress admin dashboard.
 3. Go to Plugins > Add New, click Upload Plugin, and upload the downloaded .zip file.
 4. Alternatively, search for “Vertical Sidebar Menu Block” in the plugin repository
    directly from your admin dashboard and click Install Now.
 5. Once installed, click Activate to enable the plugin on your site.

### Using the Block on a Page or Post

 1. Open the page or post where you want to add the menu using the WordPress block 
    editor.
 2. Search for “Vertical Sidebar Menu Block” in the block library and add it to your
    content.
 3. Select a navigation menu from the block’s settings panel.
 4. If no menu exists, go to Appearance > Menus in the admin panel to create a new 
    menu.

### Using the Block in a Widget Area

 1. Go to Appearance > Widgets or Appearance > Customize > Widgets.
 2. Add a block widget and search for the “Vertical Sidebar Menu Block.”
 3. Place the block in the desired widget area and select a navigation menu.

## 常見問題集

### Is this plugin compatible with all themes?

Yes, the Vertical Sidebar Menu Block is designed to work seamlessly with any WordPress
theme.

### What are the minimum WordPress and PHP version requirements?

 * WordPress Version: 6.6 or higher
 * PHP Version: 7.4 or higher

### Does this plugin work with WooCommerce?

Yes, it is fully compatible with WooCommerce and can display product categories 
or custom menus.

### Does this plugin support saving expanded menu items after page reload?

Yes, the plugin remembers the expanded menu state to improve user experience.

### Where can I find the source code?

The source code is included in the `src/` folder of the plugin and is available 
on GitHub:
 [GitHub Repository](https://github.com/wpbean/Vertical-Sidebar-Menu-Block)

## 使用者評論

這個外掛目前沒有任何使用者評論。

## 參與者及開發者

以下人員參與了開源軟體〈Vertical Menu Block for Sidebar Accordion Menu〉的開發相關
工作。

參與者

 *   [ WPBean ](https://profiles.wordpress.org/wpbean/)
 *   [ MD Imran Khan ](https://profiles.wordpress.org/imranwpb/)

[將〈Vertical Menu Block for Sidebar Accordion Menu〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/vertical-sidebar-menu-block)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/vertical-sidebar-menu-block/)、
查看 [SVN 存放庫](https://plugins.svn.wordpress.org/vertical-sidebar-menu-block/)，
或透過 [RSS](https://plugins.trac.wordpress.org/log/vertical-sidebar-menu-block/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/vertical-sidebar-menu-block/)。

## 變更記錄

#### 1.0

 * Initial release.

#### 1.01

 * Addressed WordPress.org plugin review feedback.

#### 1.02

 * Addressed WordPress.org plugin 2nd review feedback.

#### 1.03

 * Addressed WordPress.org plugin 3nd review feedback.

#### 1.04

 * Some style issue fixed.

#### 1.05

 * WP Rocket issue fixed.

## 中繼資料

 *  版本 **1.05**
 *  最後更新 **3 週前**
 *  啟用安裝數 **100+**
 *  WordPress 版本需求 ** 6.6 或更新版本 **
 *  已測試相容的 WordPress 版本 **7.1.4**
 *  PHP 版本需求 ** 7.4 或更新版本 **
 *  語言
 * [English (US)](https://wordpress.org/plugins/vertical-sidebar-menu-block/)
 * 標籤:
 * [accordion menu](https://tw.wordpress.org/plugins/tags/accordion-menu/)[block](https://tw.wordpress.org/plugins/tags/block/)
   [menu](https://tw.wordpress.org/plugins/tags/menu/)[sidebar menu](https://tw.wordpress.org/plugins/tags/sidebar-menu/)
   [vertical menu](https://tw.wordpress.org/plugins/tags/vertical-menu/)
 *  [進階檢視](https://tw.wordpress.org/plugins/vertical-sidebar-menu-block/advanced/)

## 評分

這個項目尚無任何評論記錄。

[撰寫評分](https://wordpress.org/support/plugin/vertical-sidebar-menu-block/reviews/#new-post)

[查看全部使用者評論](https://wordpress.org/support/plugin/vertical-sidebar-menu-block/reviews/)

## 參與者

 *   [ WPBean ](https://profiles.wordpress.org/wpbean/)
 *   [ MD Imran Khan ](https://profiles.wordpress.org/imranwpb/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/vertical-sidebar-menu-block/)