Duplicated Share Icons – Single Product Page
-
Hi,
I’m new to WordPress and I’m using Jetpack to view social icons on the single product page and the problem is that I’m getting those icons duplicated.
you can take a look here
I’ve added the following snippet to functions.php to remove the duplicated icons
function jeherve_remove_jp_woo_buttons() {
remove_action( ‘woocommerce_share’, ‘jetpack_woocommerce_social_share_icons’, 10 );
}
add_action( ‘loop_start’, ‘jeherve_remove_jp_woo_buttons’ );and the following to custom-single-product.php to view the sharing icons underneath the product description
if ( function_exists( ‘sharing_display’ ) ) {
sharing_display( ”, true );
}if ( class_exists( ‘Jetpack_Likes’ ) ) {
$custom_likes = new Jetpack_Likes;
echo $custom_likes->post_likes( ” );
}is there any way to remove the sharing icons under the product tabs ?
thanks ??
- The topic ‘Duplicated Share Icons – Single Product Page’ is closed to new replies.