Hello,
Replace your code (if you don’t have more lines) with this one
<?php
add_action( 'wp_enqueue_scripts', 'theme_enqueue_styles', 1001 );
function theme_enqueue_styles() {
etheme_child_styles();
}
function sv_remove_product_page_skus( $enabled ) {
if ( ! is_admin() && is_product() ) {
return false;
}
return $enabled;
}
add_filter( 'wc_product_sku_enabled', 'sv_remove_product_page_skus' );
/* Change Description Tab Title & Heading To Product Name
* http://gerhardpotgieter.com/2013/09/04/woocommerce-change-description-tab-title-heading-product-name/
*/
// Change the description tab heading to product name
add_filter( 'woocommerce_product_description_heading', 'wc_change_product_description_tab_heading', 10, 1 );
function wc_change_product_description_tab_heading( $title ) {
global $post;
return $post->post_title . ' Audio Sample';
}
// Add action to hook into the approp
add_filter( 'woocommerce_placeholder_img_src', 'growdev_custom_woocommerce_placeholder', 10 );
/**
* Function to return new placeholder image URL.
*/
function growdev_custom_woocommerce_placeholder( $image_url ) {
$image_url = 'http://onthecornermanila.com/images/placeholder.png'; // change this to the URL to your custom placeholder
return $image_url;
}
// To Move price underneath title use code
remove_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_price', 10 );
// remove action which show Price on their default location
add_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_price', 20);
// add action with Priority just more than the woocommerce_template_single_title ;
add_filter('woocommerce_single_product_image_thumbnail_html','wc_remove_link_on_thumbnails' );
// Change the Single Product Image Click
function wc_remove_link_on_thumbnails( $html ) {
return strip_tags( $html,'<img>' );
}
Regards