Tag: sidebar

  • Remove Storefront Sidebar

    add_action( ‘get_header’, ‘remove_storefront_sidebar’ );

    function remove_storefront_sidebar() {
    if ( is_product() ) {
    remove_action( ‘storefront_sidebar’, ‘storefront_get_sidebar’, 10 );
    }
    }