Hi,
I am working with the standard wp_nav_menu and wanted to know if it is possible to insert a classed div into the HTML markup to surround the first sub menu. So the markup would look like:
<div class="menu-header">
<ul class="menu">
<li class="menu-item"><a href="#">Page</a>
<div class="subContainer">
<ul class="sub-menu">
<li>...</li>
</ul>
</div>
</li>
</ul>
</div>
I would like to add the "subContainer" div in.
Do I need to edit this line, or is there a different solution?
<?php wp_nav_menu( array( 'container_class' => 'menu-header', 'theme_location' => 'primary' ) ); ?>
Thanks in advance!