ThemeShaper Forums » ThemeShaper WordPress Themes

[closed]

Help sorting out wp3.0 nav manu for a theme

(2 posts)
  • Started 8 years ago by Jamie Mitchell
  • Latest reply from Jamie Mitchell
  • This topic is not resolved

Tags:

  1. Jamie Mitchell
    Member

    hey all !

    okey dokey, i am using Ian's shape theme and tutorial as a basis for my own theme, this is being helpfull to understand more about building a theme from scratch (for my own release etc), i'm using a lot of the css from thematic as i have been working with thematic child themes for a few yrs now so it's kinda natural to me and i know it well.

    now i need to update the menu with the new wp 3.0 nav menu

    i am using the code from 2010 theme

    to go in the header

    // This theme uses wp_nav_menu() in one location.
    	register_nav_menus( array(
    		'primary' => __( 'Primary Navigation', 'twentyten' ),
    	) );

    and in the functions

    // This theme uses wp_nav_menu() in one location.
    	register_nav_menus( array(
    		'primary' => __( 'Primary Navigation', 'mytheme' ),
    	) );

    all works fine as expected...but

    how can i make this produce the same markup as thematic so i can use the suckerfish menu ...div class="menu" and ul class="sf-menu......

    it's easy to do it with the old menu (wp_list_pages) but the new 3.0 menu has got me stumped...

    any help appreciated :)

    J

    Posted 8 years ago #
  2. Jamie Mitchell
    Member

    **update //

    i grabed Ian's great html5 theme which has the new nav already part of it, and will go from there...

    http://wordpress.org/extend/themes/toolbox

    Hat's off to Ian for his great work :)

    Posted 8 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.