You just have do unqueue the script.
function dequeue_fanpage_scripts(){
wp_dequeue_script( 'fbfpi-plugin-script' );
}
add_action( 'wp_enqueue_scripts', 'dequeue_fanpage_scripts', 20 );
Thank you for you help.
I pasted the code into the functions php of my theme but unfortunately it’s not working.
The following file file is still included:
/wp-content/plugins/facebook-fanpage-import/includes/skip/includes/js/jquery/colorpicker/jquery.colorpicker.js
When the plugin is activated 30 more javascript files are inlcuded then whithout the plugin.
Does the plugin really need these scripts?
Definetly not. You are totally right.
The problem is the Skip framework we used to show the options and save the options. But we will get rid of it. I added a ticket for the next version. There I will remove skip and you only have the CSS for the frontend there. I have added a ticket for that:
https://github.com/awsmug/Fanpage-import/issues/15
Im the meanwhile I would propose that you will do some changes in the plugin itself. I think it’s the easiest way. Because in the next version which will be overwritten by this plugin I will have removed the problems.
You can comment out scripts in this file here:
https://github.com/awsmug/Fanpage-import/blob/master/includes/skip/core/core.php
I hope that helps you for the moment.
Thank you. I will try this.