How to Call Different Meny On Page
-
I’m trying to call different menus on different pages, and I can make it work using the wp_nav_menu() funtion.
However, I can’t get it to style correctly with my bootstrap-based theme.
Typically, the wordpress code would be:
<?php wp_nav_menu( array('menu' => 'menu-name' )); ?>
But my menu has this:
<?php wp_bootstrap_main_nav(); // Adjust using Menus in WordPress Admin ?>
I’ve tried adding this, but it still calls the main menu:
<?php wp_bootstrap_main_nav( array('menu' => 'menu-name' )); // Adjust using Menus in WordPress Admin ?>
Any ideas? Thanks!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘How to Call Different Meny On Page’ is closed to new replies.