I need help! I'm trying to optimize my wp to run smoother, so I put everything in two .js files one in footer the other in header. But I cannot get one of my plug ins (shadowbax js) to stop including .js file in the footer! I already have contents inside my own combined file, so how do I stop those plug ins from outputting in the theme?
Open the plugin php file. Look for wp_footer() you can comment that line or seek at the line where the javascript is echoed. Cheers.
Thx! But, if I comment that out some functionality of the theme will break. And js isn't being echoed anywhere at least in my theme file. Where do I seek it? shouldn't it be in shadowbox plugin script? or I can comment it out even from the theme?? For example before the wp_header() I put <?php wp_deregister_script('jquery'); ?> and no javascript is being included from that hook, but for the footer I have no idea what to do