/**
  * @see Westudio_Bootstrap_Menu_Walker
  */
 protected function get_link_attributes($item, $depth, $args, $id)
 {
     $attributes = parent::get_link_attributes($item, $depth, $args, $id);
     $attributes['href'] = home_url() . '#' . wb_url_to_slug($attributes['href']);
     $attributes['data-target'] = '#' . wb_url_to_slug($attributes['href']);
     return $attributes;
 }
            echo $item->title;
            ?>
          </a>
        </li>
<?php 
            $first = false;
        }
        ?>
      </ul>

      <div class="tab-content">
<?php 
        $first = true;
        foreach ($node->children as $child) {
            $item = $child->item;
            $id = wb_url_to_slug($item->url);
            ?>
        <div id ="<?php 
            echo $id;
            ?>
" class="tab-pane fade<?php 
            echo $first ? ' in active' : '';
            ?>
">
<?php 
            wb_set('is_block', true);
            wb_render_item($item);
            wb_set('is_block', false);
            ?>
        </div>
<?php