Theme menu block output item wrapper

Public

This allows you to override the wrapper list element and add additional elements. This is to be used in your theme's template.php Handy dandy!

Get raw version
php
  1. function MYTHEME_menu_tree__menu_block( $variables) {
  2. return '<div class="submenu"><ul class="unstyled nav nav-tabs nav-stacked">' . $variables['tree'] . '</ul></div>';
  3. }

Comments

Jan's picture

Is there a solution for D6 too?