I have this 'primary' menu with a few items in the CMS, which I can list nicely with this PHP code:
$args = array( 'theme_location' => 'primary' ); wp_nav_menu( $args );
The PHP outputs the menu with the
<ul> tag. but, I want to use HTML that looks like this:
<ul class="nav navbar-nav"> <!-- primary menu items --> </ul>
I'm looking for the right way to output my primary menu with the HTML from above.