Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save StewartChamberlain/6131407 to your computer and use it in GitHub Desktop.
Save StewartChamberlain/6131407 to your computer and use it in GitHub Desktop.
<?php
/** Do NOT include the opening php tag */
add_filter( 'genesis_breadcrumb_args', 'sc_breadcrumb_args' );
/**
* Add Clearfix to breadcrumb <div>
*
*/
function sc_breadcrumb_args( $args ) {
$args['prefix'] = '<div class="breadcrumb clearfix">';
return $args;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment