• I see two theme locations for the menus but the second one doesn’t seem to do anything and I can’t find it anywhere on the site after assigning a menu to it. Is this a bug?

Viewing 3 replies - 1 through 3 (of 3 total)
  • You just have to define where you want the menu to appear. If you want to put it in your header, you would edit your virtual header file (from the Dashboard, go to Appearances > Montezuma Options > Sub-Templates > header.php). If you want to put it in the footer, you would edit footer.php. Once you decide where you want to put it, then you make a call to wp_nav_menu() to display the menu. If you look at the end of the header.php file, you’ll see a call that adds menu1 to the bottom of the header. Just copy & paste the existing code for menu1, changing the theme_location from menu1 to menu2.

    If you have further questions, you can post them in the Bytes for All Montezuma support forum.

    if you use wp_nav_menu, make sure to change the settings so the ID is unique and it points to the other menu. In other words, don’t just copy and past the original or you will get what you tell it to do (grin)

    Good catch, JuggleDad, yes, menu_id should be changed from menu1 to menu2 (or some other unique ID) as well. You’ll probably need this ID to apply any unique styling in your CSS files.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Where is menu 2?’ is closed to new replies.