chasecee
Forum Replies Created
-
Sorry, I didn’t fully test what dequeuing the script does. You’ll get a console error. It doesn’t break anything, but it’s annoying. Perhaps there’s not a clean way to remove this feature. I guess the best option might be to backgrade.
^^^ SAFER WAY to remove st_insights.js :
function wpdocs_dequeue_script() { wp_dequeue_script( 'ssba-sharethis' ); } add_action( 'wp_print_scripts', 'wpdocs_dequeue_script', 100 );add this to functions.php
If anyone has any ideas how to safely remove the facebook SDK script, and the ramifications in doing so, please enlighten us 🙂
Forum: Plugins
In reply to: [Simple Share Buttons Adder] NEW Terms & Privacy Policy – Nag Message^^^ SAFER WAY to remove st_insights.js :
function wpdocs_dequeue_script() { wp_dequeue_script( 'ssba-sharethis' ); } add_action( 'wp_print_scripts', 'wpdocs_dequeue_script', 100 );add this to functions.php
Forum: Plugins
In reply to: [Simple Share Buttons Adder] NEW Terms & Privacy Policy – Nag MessageNag message aside, I was extremely bugged to see an extra st_insights.js script loading on my obsessively curated site. Of course, you can downgrade by following the instructions here:
https://wordpress.org/support/topic/how-to-backgrade-simple-share-buttons?replies=7
OR, if you wanna keep this version and just don’t like the script loading AND you know what you’re doing you can dequeue the st_insights.js script here:
/wp-content/plugins/simple-share-buttons-adder/inc/ssba_styles.php
Remove lines 12-21 in that file.Of course editing core plugin files is bad yada yada but I just had to track it down and share with everyone. As for the facebook script that gets added, I don’t know enough about the platform to know whether it’s harmful or not to remove that code, so if someone knows more than I do about that script, let me know. All I know is that my site doesn’t need to be connecting with sharethis and telling it secrets!
Also, if you know what you’re doing you can dequeue the st_insights.js script here:
/wp-content/plugins/simple-share-buttons-adder/inc/ssba_styles.php
Remove lines 12-21 in that file.Of course editing core plugin files is bad yada yada but I just had to track it down and share with everyone.
Props to SSBA for making some quick money selling their plugin, but seriously upset that it’s been soiled by ShareThis, a company I’ve been avoiding for this very reason. Thanks so much for the old version 🙂
Forum: Plugins
In reply to: [Tabs Widget for Page Builder] first tab always stays activeHad same problem, and mkauf8’s solution worked for me as well. PS: you can find the code on line 58 of class-tabs-widget.php
Forum: Plugins
In reply to: [Ultimate WP Query Search Filter] Shuffle Posts FeatureSorry I didn’t clarify. I’m not trying to exclude a taxonomy, I would just like for a way to shuffle all the posts (like a get random posts button). Thanks.
Forum: Plugins
In reply to: [Ultimate WP Query Search Filter] Add a Transition Effect To Query ResultsI am a newbie when it comes to jQuery, but I figured out this method based on the original post. It slides up the parent container (.postcontainer) which the posts are appended to. Not ideal, but I thought I’d share what I learned.
jQuery(document).ready(function($) {
$(document).ajaxStart(function() {
$(".postcontainer").slideUp('fast');
}).ajaxStop(function() {
$(".postcontainer").slideDown('slow');
});
});