From: Anthony Talarico Date: Thu, 19 Nov 2015 18:04:34 +0000 (-0500) Subject: remove php code from functions.php and using css to remove the reviews tab X-Git-Tag: v1.0.0^2~92 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=0b439e259dcf6198a2c3bb1ccc4fbaf056326839;p=WP-Themes%2Fthemoleholeonline.git remove php code from functions.php and using css to remove the reviews tab --- diff --git a/functions.php b/functions.php index e505b29..378b7f5 100644 --- a/functions.php +++ b/functions.php @@ -8,10 +8,7 @@ /** * Initialize all the things. */ -remove_action( 'woocommerce_product_tabs', 'woocommerce_product_reviews_tab', 30); -remove_action( 'woocommerce_product_tab_panels', 'woocommerce_product_reviews_panel', 30); require get_stylesheet_directory() . '/inc/init.php'; - /** * Do not add custom code / snippets here. * While Child Themes are generally recommended for customisations, in this case it is not diff --git a/style.css b/style.css index a4e3651..94de8bf 100644 --- a/style.css +++ b/style.css @@ -32,6 +32,10 @@ Text Domain: galleria .site-main ul.products li.product .button{ display: none !important; } +.single-product div.product .woocommerce-tabs{ + display: none; +} +/* end of custom css */ .animated{ -webkit-animation-duration: 1s; animation-duration: 1s;