Display the top parent of the navigation (static block )

Permalink
$bt_main = BlockType::getByHandle('autonav');
$bt_main->controller->displayPages = 'top_level';
$bt_main->controller->orderBy = 'display_asc';
$bt_main->controller->displaySubPages = 'relevant_breadcrumb';
$bt_main->controller->displaySubPageLevels = 'custom';
$bt_main->controller->displaySubPageLevelsNum = "0";
$bt_main->render('templates/topfull_nav');



/*Hide the first li by jquery*/