توضیحات
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:
- Install Node.js and npm.
- Run
npm install
to install dependencies. - 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.
بلوکها
این افزونه 1 بلوک ارائه میدهد.
- Vertical Menu Collapsible sidebar vertical sidebar menu block.
نصب
Install and Activate the Plugin
- Download the plugin from the WordPress Plugin Repository.
- Navigate to your WordPress admin dashboard.
- Go to Plugins > Add New, click Upload Plugin, and upload the downloaded .zip file.
- Alternatively, search for “Vertical Sidebar Menu Block” in the plugin repository directly from your admin dashboard and click Install Now.
- Once installed, click Activate to enable the plugin on your site.
Using the Block on a Page or Post
- Open the page or post where you want to add the menu using the WordPress block editor.
- Search for “Vertical Sidebar Menu Block” in the block library and add it to your content.
- Select a navigation menu from the block’s settings panel.
- If no menu exists, go to Appearance > Menus in the admin panel to create a new menu.
Using the Block in a Widget Area
- Go to Appearance > Widgets or Appearance > Customize > Widgets.
- Add a block widget and search for the “Vertical Sidebar Menu Block.”
- 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.
-
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
نقد و بررسیها
نقد و بررسیای برای این افزونه یافت نشد.
توسعه دهندگان و همکاران
“Vertical Sidebar Menu Block” نرم افزار متن باز است. افراد زیر در این افزونه مشارکت کردهاند.
مشارکت کنندگانترجمه “Vertical Sidebar Menu Block” به زبان شما.
علاقه مند به توسعه هستید؟
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
گزارش تغییرات
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.