Ben sitemdeki ürünlersayfasından Paylasım ikonlarını kaldırmak istiyorum fakat .php den kodları sıldıgımde anlamadıgım bi şekilde bazı ürünlerde siliniyorken bazı ürünlerde siliniyor
web sitesi : https://modelor.net/urun/sweat-shirt-2/
bana yardım edebılıcek varmı silmek istedigim yer 1.ekteki sağ tarafta yer alan sosyal medya urunleri :
php kodu :
/**
* The template for displaying product content in the single-product.php template
*
* Override this template by copying it to yourtheme/woocommerce/content-single-product.php
*
* @author WooThemes
* @package WooCommerce/Templates
* @version 30.6.0
*/
defined( 'ABSPATH' ) || exit;
$makali_opt = get_option( 'makali_opt' );
$makali_single_product_layout = 'sidebar';
if(isset($makali_opt['single_product_layout']) && $makali_opt['single_product_layout']!=''){
$makali_single_product_layout = $makali_opt['single_product_layout'];
}
if(isset($_GET['layout']) && $_GET['layout']!=''){
$makali_bloglayout = $_GET['layout'];
}
$singleproductsidebar = 'right';
if(isset($makali_opt['sidebarsingleproduct_pos']) && $makali_opt['sidebarsingleproduct_pos']!=''){
$singleproductsidebar = $makali_opt['sidebarsingleproduct_pos'];
}
if(isset($_GET['sidebar']) && $_GET['sidebar']!=''){
$makali_blogsidebar = $_GET['sidebar'];
}
if ( !is_active_sidebar( 'sidebar-single_product' ) ) {
$makali_bloglayout = 'nosidebar';
}
$makali_single_product_main_extra_class = NULl;
if($singleproductsidebar=='left') {
$makali_single_product_main_extra_class = 'order-lg-last';
}
?>
global $post, $woocommerce, $product, $is_IE;
$enable_slider = get_option('yith_wcmg_enableslider') == 'yes' ? true : false;
$attachment_ids = $product->get_gallery_image_ids();
if ( ! empty( $attachment_ids ) && ( $attachment_ids != 0 ) ) {
$imageclass = 'hasthumb';
} else {
$imageclass = 'nothumb';
}
?>
/**
* Hook: woocommerce_before_single_product.
*
* @hooked wc_print_notices - 10
*/
do_action( 'woocommerce_before_single_product' );
if ( post_password_required() ) {
echo get_the_password_form();
return;
}
?>
>
/**
* Hook: woocommerce_after_single_product_summary.
*
* @hooked woocommerce_output_product_data_tabs - 10
* @hooked woocommerce_upsell_display - 15
* @hooked woocommerce_output_related_products - 20
*/
do_action( 'woocommerce_after_single_product_summary' );
?>