Created
July 21, 2015 17:43
-
-
Save opincus/6beb5374aa2903232c42 to your computer and use it in GitHub Desktop.
swfd-lms-breadcrumbs.php modification for Genesis
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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