You can easily enable or disable breadcrumbs from displaying on posts, pages, archives and your home page using the Genesis > Theme Settings > Breadcrumbs:
You can also customize whats displayed in your breadcrumbs using filters.
If you take a look in the breadcrumbs.php file which is included in the Genesis files, you’ll see a list of what can be customized.
$this->args = array( 'home' => __( 'Home', 'genesis' ), 'sep' => 'list_sep' => ', ', 'prefix' => '<div class="breadcrumb">', 'suffix' => '</div>', 'heirarchial_attachments' => true, 'heirarchial_categories' => true, 'labels' => array( 'prefix' => __( 'You are here: ', 'genesis' ), 'author' => __( 'Archives for ', 'genesis' ), 'category' => __( 'Archives for ', 'genesis' ), 'tag' => __( 'Archives for ', 'genesis' ), 'date' => __( 'Archives for ', 'genesis' ), 'search' => __( 'Search for ', 'genesis' ), 'tax' => __( 'Archives for ', 'genesis' ), 'post_type' => __( 'Archives for ', 'genesis' ), '404' => __( 'Not found: ', 'genesis' )
Any of these default arguments can be modified using a filter.
To remove or customize the ‘You Are Here’ text simply remove the text from the argument or replace it with your own custom text.
All custom functions should be copied from the view raw link in the Gist and pasted at the end of your child themes functions.php file using a code editor.
Remove ‘You Are Here’ Text
Change ‘You Are Here’ Text
Modify Home Text
This code changes the Home text to Front Page.
You can then put all your modifications together into the one custom function and filter multiple arguments for better efficiency.
Reposition Breadcrumbs Using Genesis Hooks
You can easily change the position your breadcrumbs display in your theme using any genesis hook location.
Remove Breadcrumbs On Specific Page
You can easily change the conditional tag in this code snippet to suit your own needs and add the page/post i.d or slug for the one you want removed without effecting other areas of your site.
This code adds classes which you can modify or use ‘as is’ to style your breadcrumbs.
This CSS code will add a home icon in replace of the home text and additional styling which you can easily modify, add to or delete.
This CSS code has been modified from one of the Studio Press child themes.
Genesis Simple Breadcrumbs Plugin
Another way to customize your breadcrumbs is to install the Genesis Simple Breadcrumbs plugin. This plugin enables you to modify all the default settings and label arguments without touching any PHP code.
This plugin has been developed by Copyblogger Media’s Nick Croft.
I’ll be writing more about how to use filters to modify the output of all the default Genesis functions over the coming months.