[Plugin: NextGEN Gallery] want to remove nextgen from header (3 posts)

  1. sarmadhassan
    Posted 6 years ago #

    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?

  2. sarmadhassan
    Posted 6 years ago #

    Good to see everybody wants to keep loading unnecessary css/js on pages where they are not required. lol

  3. Augusto
    Posted 6 years ago #

    I'm having the same problem.
    So many pages without a gallery, and all of them with the header's includes.

    It's unnecessary.. Any solution?

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.