Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ndiego/mega-menu-block
An exploratory mega menu block.
https://github.com/ndiego/mega-menu-block
wordpress wordpress-plugin
Last synced: 4 days ago
JSON representation
An exploratory mega menu block.
- Host: GitHub
- URL: https://github.com/ndiego/mega-menu-block
- Owner: ndiego
- License: gpl-2.0
- Created: 2024-02-13T21:11:58.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-12-08T16:37:32.000Z (19 days ago)
- Last Synced: 2024-12-16T18:35:13.037Z (11 days ago)
- Topics: wordpress, wordpress-plugin
- Language: JavaScript
- Homepage:
- Size: 1.46 MB
- Stars: 102
- Watchers: 13
- Forks: 21
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Mega Menu Block
This plugin registers an **experimental** Mega Menu block.
You can [test the block in your browser](https://playground.wordpress.net/?blueprint-url=https://raw.githubusercontent.com/ndiego/mega-menu-block/main/_playground/blueprint.json) using Playground. Try adding the Menu Menu block to a Navigation block and configure a menu template in the Settings Sidebar.
## Requirements
- WordPress 6.5+
- PHP 7.0+## Limitations
This block is experimental, so there are a few limitations, and you will likely run into some oddities on the front end. It's recommended that you use this plugin as a starting point and adapt it to your theme.
- You must be using a block theme. (e.g., Twenty Twenty-Four)
- There is no support for vertically positioned Navigation blocks.
- The width of each mega menu is restricted to either full width or `content` and `wide` width as defined in theme.json.
- Menu template parts are created in the Site Editor. There is no UI in the Navigation block itself.