November 7, 2012 at 8:23 pm
#556
Keymaster
I removed this article because it doesn’t apply in all scenarios, as you’re seeing now.
Ok, so remove this part:
// Change responsive nav menu id function apply_mobile_menu( $menu_id ) { $menu_id = 'mobile-menu'; // Our registered "Mobile Menu" ID return $menu_id; } add_filter( 'themeblvd_responsive_menu_location', 'apply_mobile_menu' );
And replace it with this:
function my_header_menu() { $menu_style = themeblvd_get_option('menu_style'); echo themeblvd_nav_menu_select( 'mobile-menu' ); ?><?php } remove_action( 'themeblvd_header_menu', 'akita_header_menu' ); add_action( 'themeblvd_header_menu', 'my_header_menu' );
This is the “akita_header_menu” function copied from /includes/theme-functions.php
with the modification of feeding your menu ID “mobile-menu” into the themeblvd_nav_menu_select
function.