I'm modifying an older theme "fog" and I've updated it to support menus according to the tutorials, forums, codex etc. Here's what I put into my functions.php file:
add_action( 'init', 'register_my_menus' );
function register_my_menus() {
register_nav_menus(
array(
'header-menu' => __( 'Header Menu' ),
'extra-menu' => __( 'Extra Menu' )
)
);
}
and here's what I put into my header.php:
<div id="nav">
<?php wp_nav_menu( array( 'theme_location' => 'header-menu' ) ); ?>
</div>
I created a custom menu and ordered it the way I wanted. It works perfectly behind the scenes while I'm using "theme test drive" (there's a coming soon theme - makeover - that is live while I'm building the site).
When I activate the fog theme, however, the nav menu becomes the entire page list, ordered alphabetically instead of the custom menu. I've examined everything and can't see what is wrong. Any help would be greatly appreciated!