false,'fallback_cb'=>'calotropis_menu_','depth'=>$depth);
wp_nav_menu(wp_parse_args($passed_args,$args));
return;
} else calotropis_menu_($args);
}
function calotropis_primary_home($args){
return '
'.itx_get_option('menu','home').''.$args;
}
/**
* Function to display navigation menu in Calotropis if user choose to use Calotropis Menu or for older than WordPress 3.0 users
*
* @since 1.2
*
*/
function calotropis_menu_($args){
$class=$cat_inc=$page_inc='';
extract(itx_get_option('menu'));
extract(wp_parse_args($args));
if ($show){
echo '';
}
}
if ( function_exists('wp_nav_menu')&&itx_get_option('menu','wp_menu')){
register_nav_menu( 'primary' , 'Primary Navigation');
}
?>