Modern (WebMan)

Knowledgebase Docs » UberMenu 3
USEFUL? 1
UberMenu 3

Out of the box, Modern will cause significant residual styling and break UberMenu. However, because the theme provides a pluggable menu function, it is very easy to completely replace the theme’s menu with UberMenu. Just add the following PHP to your child theme’s functions.php to replace the theme’s menu:

function wm_navigation(){
	if( function_exists( 'ubermenu' ) ){
		ubermenu( 'main' , array( 'theme_location' => 'primary' ) ); 
	}
}