external css menu in twenty ten theme (1 post)

  1. GMCL
    Posted 5 years ago #

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

    <link href="http://www.foylecycling.net/p7pmm/p7PMMh02.css" rel="stylesheet" type="text/css" media="all" />
    <script type="text/javascript" src="http://www.foylecycling.net/p7pmm/p7PMMscripts.js"></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

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.