I clicked on the link that you provided but this does not answer my question. I am not having having problems registering the navigation menues. What I am having trouble with is creating one of those on mouse over drop down menu affects. In other words. Making the secondary menu options appear and disappear when a user hovers his mouse on and off the main menu bar. What I would like to do is locate the code in the twentyten theme that makes that affect happen and steal it for myself. The link that you provided just taught how to properly register the menues.
you’ll find the ‘wp_nav_menu()’ code in header.php of Twenty Ten:
<div id="access" role="navigation"> ... ... <?php wp_nav_menu( array( 'container_class' => 'menu-header', 'theme_location' => 'primary' ) ); ?> </div><!-- #access -->
and the menu styling in style.css – the section titled
and this in functions.php:
// This theme uses wp_nav_menu() in one location. register_nav_menus( array( 'primary' => __( 'Primary Navigation', 'twentyten' ), ) );
All of this I already knew. it still doesn’t answer my question. I know where and now wp_nav_menu works as well as how all the arguents work, and how to register it in functions.php. Who doesn’t know that? What I was trying to do is figure out how to make the physical affect happen on mouse over.
Anyway, I figured it out on my own. I went to youtube and found some tutorials and now my site is working the way it’s supposed to. Tyanks anyway guys…
- The topic ‘Drop Down Menu on Twentyten Theme’ is closed to new replies.