WordPress.org

Ready to get started?Download WordPress

Forums

Menu Not showing in my Theme Dashboard (2 posts)

  1. sajidk25
    Member
    Posted 1 year ago #

    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

  2. Tara
    Member
    Posted 1 year ago #

    I m trying 2 develop a theme

    Documentation: http://codex.wordpress.org/Theme_Development

Topic Closed

This topic has been closed to new replies.

About this Topic