Hi Folks, I've followed about 5 tutorials very carefully but for the life of me can't figure out what is happening here, would be very grateful for some help :)
I am creating a custom menu item, I have registered the menu in the functions.php as follows:
if ( function_exists( 'register_nav_menu' ) ) {
register_nav_menu( 'main-menu', 'Main Menu' );
}
In my header.php I am using the following to call the menu:
<?php wp_nav_menu( array( 'menu' => 'main-menu', 'container_class' => 'nav' ) ); ?>
Yet when I go to the Appearance->Menus page in the admin the "Theme Locations" box is not there, the "Custom Links, Pages and Categories" boxes are blanked out with only the option to "Create Menu" on the right.
It seems to be reading the functions.php file ok as I am NOT getting the warning message in the Appearance->Menus saying that there are no menus registered.
Thanks Folks! :)