etalase hapus sidebar dari halaman produk

// removes sidebar from product page (storefront based theme)
function pk_remove_sidebar_product_pages() {
    if ( is_product() ) {
        remove_action( 'storefront_sidebar', 'storefront_get_sidebar', 10 );
    }
}
add_action( 'get_header', 'pk_remove_sidebar_product_pages' );
Petros Karagiannidis