Exclude Specific Script from “Combine JavaScript Files
-
Hey support,
I’m using SiteGround Optimizer and have “Combine JavaScript Files” enabled, but I need to exclude a specific script from my plugin from being combined.
I’ve already tried:
- Adding
asyncanddefer, but it still gets combined - Loading it in the footer, but no change
The script does not appear in the “Exclude from JavaScript Combination” list, so I can’t manually add it there. My questions:
- How can I properly exclude this script from being combined?
- Is there a data attribute or another way to tell SG Optimizer to skip it?
- How can I make sure this script appears in the exclude list so I can add it manually?
I’d prefer not to use a PHP function to fix this.
Any help would be appreciated! - Adding
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Exclude Specific Script from “Combine JavaScript Files’ is closed to new replies.