Skip to content

Instantly share code, notes, and snippets.

@jameskoster
Created June 24, 2013 10:12
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jameskoster/5849086 to your computer and use it in GitHub Desktop.
Save jameskoster/5849086 to your computer and use it in GitHub Desktop.
WooCommerce - remove breadcrumbs
add_action( 'init', 'jk_remove_wc_breadcrumbs' );
function jk_remove_wc_breadcrumbs() {
remove_action( 'woocommerce_before_main_content', 'woocommerce_breadcrumb', 20, 0 );
}
@samunderwood
Copy link

Anyone have any idea how to remove them? Struggling to figure it out, I'd rather not just hide it with CSS.

@mark-job
Copy link

yes! i try to add this code to my functions.php,but it don't achieved, so i go to add dispaly:none to style.css that come true fastly

@ssuess
Copy link

ssuess commented Jul 28, 2017

+1 to find a solution to this please. using the add_filter( 'woocommerce_get_breadcrumb', '__return_false' ); throws errors in other parts of woo unfortunately.

@Jamonzito
Copy link

Any solution ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment