Conversation
supportHello, I am trying to maximize my pagespeed score. I want to remove these from my homepage becaause they are not being used there. Do I have to edit the plugin? <link rel=’stylesheet’ id=’fluid-player-css-css’ href=’ https://cdn.fluidplayer.com/current/fluidplayer.min.css?ver=4.8.3′ ; type=’text/css’ media=’all’ /> <script type=’text/javascript’ src=’ https://cdn.fluidplayer.com/current/fluidplayer.min.js?ver=4.8.3′></script> ;
There’s no easy way to control that through the plugin, but you could use https://developer.wordpress.org/reference/functions/add_action/ to manage loaded scripts and css files based the page you’re loading (see $wp_styles and $wp_scripts globals). Good luck!
There’s no easy way to control that through the plugin, but you could use https://developer.wordpress.org/reference/functions/add_action/ to manage loaded scripts and css files based the page you’re loading (see $wp_styles and $wp_scripts globals). Good luck!