Load specific js & css based on class or ID?

WordPress enqueues javascript before the HTML is rendered so WordPress doesn’t know what the class or ID is on the page. What you MIGHT be able to do is deenqueue the Next-Gen gallery Javascript so it isn’t loaded at all and then create your own Javascript file which loads the required Next-Gen JS if a … Read more