I am using remove_action in function.php to strip off all unnecessary files from the pages (which are not using em)
e,g my home page doesnt include a gallery so i don't want to load nextgen css or js.. how can I achieve this? I ve already tried using
remove_action('wp_print_scripts', array(&$this, 'load_scripts') ); remove_action('wp_print_styles', array(&$this, 'load_styles') );
its not working. Any idea?