';
foreach ($items as $item) {
$current = $is_current($item['path']);
if (!empty($item['children'])) {
$section_current = $current;
foreach ($item['children'] as $child) {
if ($is_current($child['path'])) {
$section_current = true;
}
}
echo '
';
};
?>
';
echo '
';
} else {
$contact = $item['path'] === '/kontakt/';
echo ''
. esc_html($item['label'])
. ($contact
? ' '
: '')
. '';
}
}
echo '