Available Menu Locations
All of the available menu locations in Mai Theme.
Mai theme has 3 built-in menu locations,though you can put menus virtually anywhere with [mai_menu] shortcode or the Navigation Menu widget. By the time you are reading this, WP core may have already added the Navigation Menu block as well.
The following menu locations are available in all Mai Themes. The names themselves should be self-explanatory for where they show up on your site.
- Header Left
- Header Right
- After Header
How To Add A Menu
Navigate to one of the following 2 places, depending which is more comfortable to you:
- Dashboard > Appearance > Menus or Customizer > Menus
- Click ‘create a new menu’ if you want a new one, or choose/edit an existing menu.
- Add/edit menu items via the available options on the left.
- Scroll below the menu, and set the menu to display in location you want.
How To Add A Menu To Content Areas
It’s very easy to add a menu to any widget area or Content Area in Mai Theme.
1. Navigation Menu Block (Coming Soon)
Navigation Menu block is pretty stable, but currently only available in the Gutenberg feature plugin.
It’s simple enough to add a Navigation Menu block to any available template part. This is a simple and easy to do solution that works for many template parts, including Before Header, Sidebar, Before Footer, Footer, and even in Site Credits.
2. Mai Menu Shortcode
If you are using Reusable Blocks to build high-quality layouts in your widget areas, it’s easy to add our [mai_menu] shortcode via a Shortcode block. This allows you to put a menu inside columns, before or after specific blocks and content, and display vertical or horizontal menu items.