Hi,
In the file sf-header.php located in dante/includes/
find this code
$main_menu_args = array(
'echo' => false,
'theme_location' => 'main_navigation',
'walker' => new sf_mega_menu_walker,
'fallback_cb' => '',
'menu' => $page_menu
);
and replace by this one
if( is_user_logged_in() ) {
$main_menu_args = array(
'echo' => false,
'theme_location' => 'main_navigation',
'walker' => new sf_mega_menu_walker,
'fallback_cb' => '',
'menu' => $page_menu
);
}else{
$main_menu_args = array(
'echo' => false,
'theme_location' => 'top_bar_menu',
'walker' => new sf_mega_menu_walker,
'fallback_cb' => '',
'menu' => $page_menu
);
}
If the user is logged in he will see the menu associated to the Main Navigation location, but if he isn’t logged in he will see the menu associated to the Top Bar Menu Location.
Let us know the result.
-Rui