• GMCL

    (@gmcl)


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

    <link href="https://www.foylecycling.net/p7pmm/p7PMMh02.css" rel="stylesheet" type="text/css" media="all" />
    <script type="text/javascript" src="https://www.foylecycling.net/p7pmm/p7PMMscripts.js"></script></head>

    then

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

    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.