Support » Plugins and Hacks » [Resolved] Stop NextGen (v2) from loading scripts/css

[Resolved] Stop NextGen (v2) from loading scripts/css

Viewing 12 replies - 1 through 12 (of 12 total)
  • I was just going to post about this now. I have done anything I could imagine, but to no avail.

    At least, loading the scripts in the footer, just not in the head.

    Looking forward for an answer.



    Same problem. Using twentythirteen theme with WordPress version 3.6.1.

    NextGEN loads 5 CSS files:

    • nextgen_gallery_related_images.css
    • jquery.lightbox-0.5.css
    • nextgen_basic_thumbnails.css
    • nextgen_pagination/static/style.css
    • nggallery.css

    I don’t want any of them. I have custom CSS in my theme styles.

    Before version 2.0 we could easily turn off these CSS files as well as script files. That should be a basic settings option.


    Plugin Author photocrati


    Hey all – just a note that I’ll forward this to our developers to 1) ask if they can propose a quick fix and 2) get the concept of an option as proposed by @dickraney on the table for discussion. If I get a quick fix, I’ll post it back here again. Thanks (Erick).

    Are there any updates on this?

    Really feel this should be treated as priority due to the amount of bulk requests that occur due to this.


    Hi all,
    yest I do think too this is too much to have so much external files loaded.

    thanks for quick update for a such awsome plugin

    Can you give us an update on this please photocrati ??

    Plugin Author photocrati


    All – We have released a new beta version that has improved resource handling that should help with at least part of the issues being noted here. Please have a look on this page: http://www.nextgen-gallery.com/nextgen-gallery-latest-beta/

    Let us know how it worked out for you with a Bug Report (http://www.nextgen-gallery.com/report-bug/ … please reference this topic) if you are still seeing items of concern.


    – Cais.

    HI, I have the same issue! I want totally disable all styles and scripts that nextgen loads.

    Please give me a snippet of code that dose it?

    Try this ….

    add_action( ‘wp_print_styles’, ‘deregister_next_gen_styles’, 100 );

    function deregister_next_gen_styles() {
    wp_deregister_style( ‘nextgen_gallery_related_images’ );

    @reneequinn that is for styles, not styles and scripts

    I would certainly like to know how to disable all these extras scripts and CSS

    Plugin Author photocrati


    @botrax – It might be best to start a new topic on this since the last reply was over three months ago … and the NGG_SKIP_LOAD_SCRIPTS constant was re-introduced back in version (July 2014).


    – Cais.

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘[Resolved] Stop NextGen (v2) from loading scripts/css’ is closed to new replies.