I’m thinking about wrapping the wp_nav_menu
with a nav tag instead of a div tag.
I’ve read at the WordPress codex that the container argument is only for using ul
or div
.
Do you guys know a way how to display the navigation in a nav tag so that the output looks like this:
<nav class="menu-header-menue-container">
<ul id="menu-header-menue" class="menu">
<li id="menu-item-86" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-86"><a href="https://wordpress.stackexchange.com/questions/326385/home"></a></li>
</ul>
</nav>