hallowebsite Simple Menu
Outputs any WordPress menu as clean, unstyled markup in an accessible nav element, with no CSS and no JavaScript. Use it as a block or as a shortcode, and style footer, legal or sidebar menus exactly the way you want.
Download v1.0.1Overview
hallowebsite Simple Menu outputs a WordPress menu as clean, plain wp_nav_menu() markup, wrapped in an accessible <nav> element. It adds no CSS, no JavaScript and no extra wrappers on the frontend. It's useful for footer menus, legal links, sidebar navigation or custom layouts that you style yourself with your theme or Kadence palette variables.
Features
- A Gutenberg block, Simple Menu (category Theme), that lets you pick the menu in the sidebar.
- The shortcode
[simple_menu]for widgets, templates and page builders. - Control over the depth: all levels or only the first level(s).
- Your own CSS class on the
<nav>wrapper. - Zero frontend assets.
Usage
Block
Add the block Simple Menu and choose the menu and depth in the block settings.
Shortcode
[simple_menu menu="main"]
[simple_menu menu="footer" depth="1" class="footer-nav"]
Shortcode attributes
| Attribute | Default | Description |
|---|---|---|
menu | – | Menu name, slug or ID. |
depth | 0 | 0 = all levels, 1 = top level only, … |
class | – | Extra CSS class on the <nav> element. |
Output
<nav aria-label="Footer" class="footer-nav">
<ul class="menu">
<li class="menu-item"><a href="…">Imprint</a></li>
</ul>
</nav>
Styling example
.footer-nav .menu { display: flex; gap: 1rem; list-style: none; margin: 0; padding: 0; }
.footer-nav a { color: var(--global-palette5); }
.footer-nav a:hover { color: var(--global-palette1); }
Changelog
Changed: - Rebranding: neuer Name „hallowebsite Simple Menu“, Autor hallowebsite, Plugin-URI https://hallowebsite.de/plugins/simple-menu/ - Keine funktionalen Änderungen.