From: Anthony Talarico Date: Thu, 4 Aug 2016 16:59:35 +0000 (-0400) Subject: removing product details header only for "Product Description" text, changed descript... X-Git-Tag: v1.0.6^2 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=8e3ab87819fafd73584485baa2e9ec82980bd008;p=WP-Themes%2Ffrancejourneys.git removing product details header only for "Product Description" text, changed description tab to 'details' --- diff --git a/functions.php b/functions.php index 1f062bb..41f0894 100644 --- a/functions.php +++ b/functions.php @@ -70,7 +70,7 @@ function woo_product_tab_edits( $tabs ) { 'title' => __('Photos', 'woocommerce'), 'callback' => 'woo_photos_content' ); - + $tabs['description']['title'] = __('Details'); unset( $tabs[ 'reviews' ]); unset( $tabs[ 'additional_information' ]); diff --git a/js/app.js b/js/app.js index d4346c3..071b096 100644 --- a/js/app.js +++ b/js/app.js @@ -100,7 +100,7 @@ $(document).ready(function () { $(this).addClass("data-equalizer-watch"); }); - $("#tab-description").find("h2").remove(); + $("#tab-description").find("h2:contains('Product Description')").remove(); $(".html5_video_tab").find('a').html("Video"); // wrap every 3 li elements in a div class=row so we can add data equalizer diff --git a/js/custom/pageSetup.js b/js/custom/pageSetup.js index e209130..d99eb9a 100644 --- a/js/custom/pageSetup.js +++ b/js/custom/pageSetup.js @@ -91,7 +91,7 @@ $(document).ready(function () { $(this).addClass("data-equalizer-watch"); }); - $("#tab-description").find("h2").remove(); + $("#tab-description").find("h2:contains('Product Description')").remove(); $(".html5_video_tab").find('a').html("Video"); // wrap every 3 li elements in a div class=row so we can add data equalizer