Newer
Older
function sonambulo_breadcrumb($breadcrumb) {
if (!empty($breadcrumb)) {
$str = '<ul class="breadcrumb">';
foreach ($breadcrumb as $key => $crumb) {
if ($key == 0) {
$class = 'child';
}
$str .= '<li class="' . $class . '">' . $crumb . '</li>';