jsruok
Member
Posted 9 months ago #
Plugin seems to include a javascript file always. Loading extra files makes the site load (a bit) slower.
I would suggest adding all that Ajax stuff *if and only if* widget has Ajax enabled.
I'm not sure if that is possible but it just would be awesome because then I wouldn't have to trouble myself with changing plugin's source code after each update.
Thanks! :-)
http://wordpress.org/extend/plugins/quotes-collection/
jsruok
Member
Posted 2 months ago #
Resolved:
remove unwanted actions in theme's functions.php:
// removes Quotes Collection plugin's CSS reference
remove_action('wp_head', 'quotescollection_css_head');
// removes Quotes Collection plugin's .js reference
remove_action('init', 'quotescollection_scripts');