WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

It is in header.php

  wp_nav_menu(array('theme_location' => 'top-nav','container_class' => '',  'fallback_cb' => ''));

in functions.php

function register_custom_menus(){
            'sidebar-menu' => __( 'Sidebar Menu' ),
            'about-menu' => __( 'About Menu' ),
            'toe-menu' => __('To Exhibit'),
            'tov-menu' => __('To Visit'),
            'media-menu' => __('Media'),
            'top-nav' => __('Top Nav')

I do same thing for other theme and the menu appears just fine. I notice that wp_list_page() works as well. But I wanted to use wp_nav_menu so that I could add in custom link using menu admin.

Could anyone tell me why it is not appearing at all?

share|improve this question

closed as too localized by kaiser, toscho Oct 9 '12 at 15:22

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

Obviously no menu was assigned to this location. Try $locations = get_nav_menu_locations(); print '<pre>' . htmlspecialchars( print_r( $locations, TRUE ) ) . '</pre>';. – toscho Apr 3 '12 at 11:45
Close vote as too localized, as no progress has been made. – kaiser Oct 9 '12 at 15:14

Browse other questions tagged or ask your own question.