I'm new to wordpress and tried to Google and looked up codex but it didn't help. I downloaded a free theme from Github and I'm trying to learn how to make a theme by looking at its code. In the header.php I found this piece
<nav class="mainnav" role="navigation">
<?php wp_nav_menu( array('menu' => 'Main Menu', 'container' => 'false' )); ?>
</nav>
I couldn't get this part " array('menu' => 'Main Menu', 'container' => 'false' ));"
Also I couldn't find the navigation markup anywhere in the theme.
Displays a navigation menu created in the Appearance → Menus panel.– Sn0opy Dec 28 '11 at 7:37$container (string) (optional) Whether to wrap the ul, and what to wrap it with. Allowed tags are div and nav. Use false for no container e.g. container => false Default: div– Sn0opy Dec 28 '11 at 7:46