Moving Sharing Icons in WooCommerce Product pages
-
It appears to me that the suggested filter in https://jetpack.com/2013/06/10/moving-sharing-icons/ stopped working in newer versions of WP/WooCommerce.
I’m having an issue were in Product pages I have 2 instances of sharing buttons being displayed. One being fired by
sharing_display( '', true );
and the default one being printed after the cart form wrapped in a<div class="sharedaddy sd-sharing-enabled">
.All of that with the following filter in place in
functions.php
function jptweak_remove_share() { remove_filter( 'the_content', 'sharing_display',19 ); remove_filter( 'the_excerpt', 'sharing_display',19 ); } add_action( 'loop_start', 'jptweak_remove_share' );
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Moving Sharing Icons in WooCommerce Product pages’ is closed to new replies.