Skip to content

Instantly share code, notes, and snippets.

@opincus
Created July 21, 2015 17:43
Show Gist options
  • Save opincus/6beb5374aa2903232c42 to your computer and use it in GitHub Desktop.
Save opincus/6beb5374aa2903232c42 to your computer and use it in GitHub Desktop.
swfd-lms-breadcrumbs.php modification for Genesis
// Open breadcrumbs
$breadcrumb = '<div class="breadcrumb">You are here: ';
// Separator HTML
$separator = '<span class="sep"> / </span>';
// Join all trail items into a string
$breadcrumb .= implode( $separator, $trail );
// Close breadcrumbs
$breadcrumb .= '</div>';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment