remotay
Member
Posted 2 years ago #
I want to disable nextgen gallery on my homepage (I Don't use the plugin there anyway).
The plugin itself has like 4 JS and CSS components to it, so disabling it on the homepage would definitely speed things up. How can I easily do this?
Thanks in advance
http://wordpress.org/extend/plugins/nextgen-gallery/
remotay
Member
Posted 2 years ago #
If anyone has a solution I would really appreciate it.
grtwordpress
Member
Posted 2 years ago #
I must be missing something but if your site is bogged down by serving 4 JS & CSS then you have a bigger problem.
remotay
Member
Posted 2 years ago #
It's not bogged down at all, but I'm trying to speed it up for perfect optimization. I already score an 80/100 on Google's PageSpeed, but I strive for perfection.
remotay
Member
Posted 2 years ago #
Found out how to do this myself.
Just add the conditional if statements to the nggallery.php
I added if(is_archive() || is_single() ) { under
function load_scripts() {
and closed the tag after.
I did this on the styles as well.