How to remove CSS in the header & remove all JS in header
-
This plugin is great, nice work.
I’m using the ratings for specific pages, I’m displaying the stars via the PHP call in a theme template file.
If you could help with these questions I’d be very happy indeed. I’m hoping the solutions will be simple remove_action functions.php entries!
1. How can I remove all CSS header entries?
Currently it’s adding the css.css file PLUS the STYLE tags in the header, I want to put that CSS in my theme’s .css file so would like to turn off your plugin’s style entries.
2. How can I stop the plugin adding anything (CSS and JS) in the header?
I will use an IF statement to load the scripts on pages that needs them, otherwise I don’t want the plugin adding unnecessary files that’ll slow down loading time.
Thank you!
- The topic ‘How to remove CSS in the header & remove all JS in header’ is closed to new replies.