hi,
if you need to retrive the menu id releated to your page
add this code to
frontend.function.p hp file
if (!function_exists('get_menu_id')) {
function get_menu_id() {
global $wb, $database;
$page_id = $wb->page_id;
$get_menu_id = $database->get_one("SELECT menu FROM ".TABLE_PREFIX."pages WHERE page_id = ". $page_id ." Limit 1;");
return $get_menu_id;
}
}
and now call get_menu_id() from your page.
useful with show_menu2
seeU
