Hi,
I have disabled include social sharing options in portfolio but still js is enqueued in frontend.
portfolio page settings screenshot( find include social sharing options): http://www.awesomescreenshot.com/0415ramjee
frontend view-source screenshot: http://www.awesomescreenshot.com/0985ran4aa
To resolved it i have added following code in main theme
file: themes\flexform\header.php at line no – 187 to 190
`<?php
global $post;
$post_id = isset($post->ID) ? $post->ID :”;
$wp_sharing_enable = !empty($post_id) ? get_post_meta($post_id, ‘sf_social_sharing’, true ) :”;
if ( is_single() && !empty($wp_sharing_enable)) { ?>
<!–// SOCIAL SCRIPTS //–>
<script type=”text/javascript” src=”//ws.sharethis.com/button/buttons.js”></script>
<script type=”text/javascript”>stLight.options({publisher: “ur-72c8cf80-2647-2464-a894-abc33849d467”, doNotHash: true, doNotCopy: true, hashAddressBar: false});</script>
<?php } ?>`
Please let me know update. Thanks in advance
Regards,
Jigar