Skip to content

Instantly share code, notes, and snippets.

Created Oct 26, 2015
What would you like to do?
<?php // don't include this line
* Disable Breadcrumbs on Search
function be_disable_breadcrumbs_on_search() {
if( is_search() )
remove_action( 'genesis_before_loop', 'genesis_do_breadcrumbs' );
add_action( 'genesis_meta', 'be_disable_breadcrumbs_on_search' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment