WordPress: How to display navigation menu in your custom theme?

<?php $defaults = array( 'theme_location' => 'primary', 'menu' => '', // name of the menu you created in the menus 'container' => '', 'container_class' => '', 'container_id' => '', 'menu_class' => '', 'menu_id' => '', 'echo' => true, 'fallback_cb' => 'wp_page_menu', 'before' => '', 'after' => '', 'link_before' => '', …

Read More »