hi my site is already running slow & i am not using gd-star on my home page so i want to deregister it, but confused how to deregister ?
or i want to load script only when it’s needed, should check the content for the sign of present of the script.
i used, but failed, still showing script in home page
<?php wp_deregister_script('gd-star-rating','/wp-content/plugins/gd-star-rating/js/gdsr.js');?>
<?php wp_deregister_style('gd-star-rating','/wp-content/plugins/gd-star-rating/css/gdsr.css.php');?>