Vertical Sidebar Menu Block

Skildring

Vertical Sidebar Menu Block is a powerful Gutenberg block plugin that allows you to create customizable vertical menus with ease. Perfect for sidebars, navigation panels, or widget areas, this block is designed to enhance your website’s user experience while maintaining full compatibility with the WordPress block editor.

Collapsible sidebar menus are an excellent way to improve your site’s user experience by allowing visitors to navigate long menus in a compact, organized manner. By hiding or revealing submenu items as needed, a collapsible design saves valuable screen space, keeps navigation clean, and ensures your content remains the primary focus. This is especially useful for websites with complex or multi-level navigation structures.

Quick Links

👉 Upgrade to Pro: Explore all Features of Vertical Sidebar Menu Block
👉 Live Demo: Try Vertical Sidebar Menu Block Demo
👉 Support: Support
👉 Source Code: GitHub Repository

Key Features

  • Choose Any Navigation Menu: Select and display any WordPress navigation menu.
  • Menu Depth Control: Set the number of menu levels to display.
  • Accordion-Like Menu: Submenus expand and collapse seamlessly for a cleaner layout.
  • Expand Current Menu Item: Automatically expand the menu to show the current item for better navigation clarity.
  • Save Expanded Menu State: Preserve the expanded state of menu items on page reload for a consistent user experience.
  • Parent and Child Typography Settings: Customize fonts, sizes, and styles separately for parent and child menu items.
  • Customizable Colors, Backgrounds, and Spacing: Adjust individual settings for parent, child, and current menu items to match your theme.
  • Dedicated Support: Get expert help whenever you need it.
  • Compatible With Any Theme: Works flawlessly with any WordPress theme, making it versatile for all websites.

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

For details, see the documentation in the GitHub repository:
GitHub – Vertical Sidebar Menu Block

Credits

This plugin includes a modified version of the Navgoco jQuery plugin 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.

Skjermbilete

Blokker

Denne utvidinga gjev 1 blokk.

  • Vertical Menu Collapsible sidebar vertical sidebar menu block.

Installasjon

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.

Vanlege spm.

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

Omtalar

There are no reviews for this plugin.

Bidragsytarar og utviklarar

“Vertical Sidebar Menu Block” is open source software. The following people have contributed to this plugin.

Contributors

Endringslogg

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.