Quantcast
Channel: WordPress.org Forums » [Jetpack - WP Security, Backup, Speed, & Growth] Support
Viewing all articles
Browse latest Browse all 37459

Liltiger on "[Plugin: Jetpack by WordPress.com] Remove Sharing Buttons from Woocommerce Posts & Pages"

$
0
0

Hi,

I've used <?php if ( function_exists( 'sharing_display' ) ) echo sharing_display(); ?> to add the sharing display to the top of my posts.

Now that I've added Woocommerce, I'm trying to remove it the sharing buttons from all Woocommerce posts & pages.

I've been unsuccessful using:

<?php if ( !is_woocommerce() ) {
echo "<?php echo sharing_display(); ?>";
}
else
{
echo "<?php if ( function_exists( 'sharing_display' ) ) echo sharing_display(); ?>";
}
?>

It stubbornly removes the sharing display from all posts except Woocommerce posts & pages.

Lol, any help would be appreciated!

Thanks

http://wordpress.org/extend/plugins/jetpack/


Viewing all articles
Browse latest Browse all 37459

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>