November 8, 2018 at 10:53 am
Hello,
I have inserted this code into a Child Theme’s functions.php to hide the Description and Additional Information tabs in Woocommerce.
add_filter( ‘woocommerce_product_tabs’, ‘woo_remove_product_tabs’, 98 );
function woo_remove_product_tabs( $tabs ) {
unset( $tabs[‘description’] ); // Remove the description tab
unset( $tabs[‘additional_information’] ); // Remove the additional information tab
return $tabs;
}
When I only hide the Additional Info tab Elementor works fine. If I hide the Description tab as well I get an the following error –
“Sorry, the content area was not found in your page. You must call the_content function in the current template, in order for Elementor to work on this page.”
This error only happens on a product page. All other pages with Elementor work fine. I’ve disabled plugins and purged cache but that did not resolve the problem.
I don’t have a link as everything is local.
Any ideas?