WordPress.org

Support

Support » Themes and Templates » Menu Not showing in my Theme Dashboard

Menu Not showing in my Theme Dashboard

  • I m trying 2 develop a theme using wp version 3.5.2. I have made a template with bootstrap and now trying to convert it as theme. but problem is that I cant register the dropdown menu to my theme. I add the following code in theme function.php file:
    function custom_navigation_menus() {

    $locations = array(
    'primary' => __( 'Primary Navigation', 'WP_Bstrap' ),
    
    );
    register_nav_menus( $locations );
    
    }
    
    // Hook into the 'init' action
    add_action( 'init', 'Primary Navigation' );

    [Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum’s parser.]

    as fur I know after adding this code the menu should show in Dashboard>apperiance>. but there is nothing. Plz help me…It is very appreciable if anyone suggest any good tutorial on word+bootstrap dropdown menu

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Menu Not showing in my Theme Dashboard’ is closed to new replies.