Hi,
I just installed Uber Mega Menu plugin for a website.
My menu settings are :
– Primary Menu with main content
– Secondary menu with secondary content
– Off Canvas Menu for Mobile with both main and secondary content
Everything works fine for primary and secondary menu, but I have some trouble regarding Mobile menu. Uber Menu is displaying Primary menu inside Mobile navigation and not my Off Canvas content.
I’m using the PHP function provided
/*** UBER MENU ***/
if ( !function_exists( 'generate_navigation_position' ) ) {
function generate_navigation_position(){
if( function_exists( 'ubermenu' ) ){
ubermenu( 'main' , array( 'theme_location' => 'primary' ) );
}
}
}
/* Stop the theme from filtering the menu output */
add_action( 'wp_head' , 'stop_generatepress_menu_filter' );
function stop_generatepress_menu_filter(){
remove_filter( 'walker_nav_menu_start_el', 'generate_nav_dropdown', 10, 4 );
}
I was wondering if there is a way to tel Uber Menu to use my off canvas content instead of primary content to use on mobile view ?
Don’t know if it’s real clear as I don’t speak well English and the problem is difficult to explain…
You’ll see URL in private information.
Let me know.