Simple Menu Block
A Gutenberg block to use simple classic menus in Wordpress
by Bob Moore · github.com/bob-moore/simple-menu-block · website
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/bob-moore/simple-menu-block/archive/refs/heads/main.zipDescription
Simple Menu Block is a WordPress plugin that allows you to use classic WordPress menus as a block in the block editor. Choose from three layouts: horizontal, vertical, or dropdown/accordion.
Features
- Horizontal Layout: Display menus in a single row for a clean and modern look.
- Vertical Layout: Stack menu items in a column for sidebar or footer use.
- Dropdown/Accordion Layout: Expandable/collapsible menus for compact navigation.
Requirements
- WordPress 6.7 or higher.
- PHP 8.2 or higher.
Installation
- Download the latest release from the releases page.
- Upload the
simple-menu-blockfolder to your WordPress installation's/wp-content/plugins/directory. - Activate the plugin through the WordPress admin under Plugins.
- Add the "Simple Menu" block in the block editor and configure it using the block settings.
License
This plugin is licensed under the GPL-2.0-or-later.
See LICENSE for details.
FAQ
What is a "classic menu"?
Classic menus are menus created using the WordPress "Appearance > Menus" interface.
Can I use this plugin with existing menus?
Yes, select any menu you’ve created under "Appearance > Menus" and apply your desired layout in the block settings.
Does this plugin support responsive layouts?
Yes, the dropdown/accordion layout is ideal for responsive designs.
Changelog
0.1.0
- Initial release.