Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • silvergrad

    (@silvergrad)

    If I may ask, how DID you use wp_nav_menu? I have code like this:

    register_nav_menus( 'main_menu' , __( 'Main Menu', 'silvergrad' ));
    register_nav_menus( 'sub_menu' , __( 'Sub Menu', 'silvergrad' ));

    and:

    wp_nav_menu('theme_location=sub_menu&container=&menu_class=menu_sub');

    That unfortunately doesnt work, it uses the callback function. Any ideas? I know that the theme_locations have been set properly.

    Thanks!

    EDIT: Never min, I figured it out. Was using old register_nav_menu<strong>s</strong>() code.

    Thread Starter silvergrad

    (@silvergrad)

    MichaelH – thanks, that looks like it will work.

    🙂

Viewing 2 replies - 1 through 2 (of 2 total)