This is searchable archive of our old support forums, which operated from 2012 - 2016. To find out how to get support for your current theme, please visit our support page.

Reply To: Mobile Menu

#549
kdaigler
Participant

Site URL: http://www.derecktor.com
I’m using the Akita theme.
Entire code of functions.php is below. This is in my child theme folder.

<?php
/*-------------------------------------------------------*/
/* Run Theme Blvd framework (required)
/*-------------------------------------------------------*/

require_once ( TEMPLATEPATH . '/framework/themeblvd.php' );

/*-------------------------------------------------------*/
/* Start Child Theme
/*-------------------------------------------------------*/

// Start the party ...

// Add stylesheet - Level 4, will get added after EVERYTHING
themeblvd_add_stylesheet( 'custom_styles', get_stylesheet_directory_uri().'/assets/css/custom.css', 4 );

// Register "Mobile Menu"
function register_mobile_menu() {
	register_nav_menus( array( 'mobile-menu' => 'Mobile Menu' ) );
}
add_action( 'init', 'register_mobile_menu' );
 
// 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' );

The mobile menu doesn’t contain several items that the main menu has, such as “press Releases,” “Gallery” and “Video” among others. Thanks for your help. Kathy D.