Skip to content

Instantly share code, notes, and snippets.


billerickson/functions.php Secret

Created Jan 23, 2017
What would you like to do?
* Shorter title for About breadcrumb
function be_shorter_title_for_about_breadcrumb( $crumb ) {
$long_title = 'This is the long about title';
$short_title = 'About';
return str_replace( $long_title, $short_title, $crumb );
add_filter( 'genesis_page_crumb', 'be_shorter_title_for_about_breadcrumb' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment