Disable automatic sharing of products on social networks with jetpack –

Hosting Mautic QuickStart -50% with support in Spanish
24 hours and free training

Send up to 1,000,000 emails/year. Mautic support in Spanish 24 hours, 365 days

Perhaps one of the best features of Jetpack is the sharing tool, which allows you to automatically share new posts to your social profiles, free of charge.

It works perfectly, so in this sense it works better than external services such as Buffer or IFTTT, which sometimes disconnect from services more than they should.

However, its strength can also be a weakness, as by default it will automatically share all types of content on your website. That is, for publications, but also for products, projects or any other type of content (PTC).

You will not always want to automatically share the creation of new products in an online store in your networks, for example when you are creating a large catalog, or if this is simply not your strategy. In this case, you can easily disable the automatic social sharing of jet pack in products by adding a function in the functions.php file located at:

CPanel > File Manager > Public_html > Domain > wp-content > themes > Theme or child theme > functions.php file

/* Disable product sharing */ function disable_product_sharing_jetpack() { remove_post_type_support( ‘product’, ‘publicize’ ); } add_action( ‘init’, ‘disable_jetpack_product_sharing’ );

When you save your changes, you have already disabled the Jetpack Sharing tool for products, the Jetpack configuration field in the product editor will not be displayed.

Help us improve our content by sharing your opinion

.com content team
CMS Support

Loading Facebook Comments ...
Loading Disqus Comments ...