Skip to content

Instantly share code, notes, and snippets.

@SiR-DanieL
Created July 22, 2016 07:07
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save SiR-DanieL/c289fe7f8d73f7df69d68af885ec617f to your computer and use it in GitHub Desktop.
add_action( 'get_header', 'remove_storefront_sidebar' );
function remove_storefront_sidebar() {
if ( is_woocommerce() ) {
remove_action( 'storefront_sidebar', 'storefront_get_sidebar', 10 );
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment