Add menu to theme in WordPress

“header-menu” is the name of the menu. You can get that name in the Appearance / Menus section, or create a new one, or rename the default menu.

<?php wp_nav_menu( array( 'theme_location' => 'header-menu' ) ); ?>
It's only fair to share...Tweet about this on TwitterShare on FacebookEmail this to someoneShare on Google+
This entry was posted in WordPress and tagged , . Bookmark the permalink.