Support » Themes and Templates » external css menu in twenty ten theme

  • I am trying to import a menu into the header php in twenty ten

    <link href="" rel="stylesheet" type="text/css" media="all" />
    <script type="text/javascript" src=""></script></head>


    <div id="navbarleft">
    	  <div id="p7PMM_1" class="p7PMMh02">
    	    <ul class="p7PMM">
    <?php wp_list_pages('title_li=&depth=1&sort_column=menu_order'); ?>

    This works if it is one level but not for drop down (if i change the depth to 2 the drop downs appear on the page constantly) I think i should be using the following line of code from the original twenty ten code but i’m not sure how to make it work for my external files

    <?php wp_nav_menu( array( ‘container_class’ => ‘menu-header’, ‘theme_location’ => ‘primary’ ) ); ?>

    Can anyone help

  • The topic ‘external css menu in twenty ten theme’ is closed to new replies.