WordPress.org

Ready to get started?Download WordPress

Forums

external css menu in twenty ten theme (1 post)

  1. GMCL
    Member
    Posted 3 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>

    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

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.