Support » Plugin: NextGEN Gallery - WordPress Gallery Plugin » JS breaking Admin

  • Just need to know a concrete way to get all of this not needed JS from running while in admin. When this plugin is activated everything from CCS problems to cant even open the admin ‘screen options’ or ‘help’ panels!

    I have already tried NGG_SKIP_LOAD_SCRIPTS constant.. doesn’t work
    I have already tried:
    https://gist.github.com/Davidlab/5134645

    /*
    * Hide Nextgen styles and scripts
    */
    if (!is_admin()) {
    // goodbye NextGen junk
    define(‘NGG_SKIP_LOAD_SCRIPTS’, true);
    function nextgen_styles() {
    wp_deregister_style(‘NextGEN’);
    }
    add_action(‘wp_print_styles’, ‘nextgen_styles’, 100);
    }

    https://wordpress.org/plugins/nextgen-gallery/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Would love to know the answer to this!!

    Plugin Author photocrati

    (@photocrati)

    @reneequinn – Are you looking at how we have made changes to our resource manager code, or are you referring to something specifically breaking in your administration panels that you believe is NextGEN Gallery related?

    Either way, it would most likely be best for you to start your own topic.

    Thanks!

    – Cais.

    Ok so can the original question be answered?

    Plugin Author photocrati

    (@photocrati)

    @bernardberry646 – Which specific scripts are you looking to not have NextGEN Gallery use and/or render in the Administration panels?

    I may need to check with one of our developers to get the right details to help you get this sorted out to your liking.

    Thanks!

    – Cais.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘JS breaking Admin’ is closed to new replies.