Title: SG optimizer Filter problem
Last modified: November 30, 2021

---

# SG optimizer Filter problem

 *  Resolved [neomorph1](https://wordpress.org/support/users/neomorph1/)
 * (@neomorph1)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/sg-optimizer-filter-problem/)
 * Hello, i did all steps in this article: [https://wordpress.org/support/topic/how-to-use-sg-optimizers-filters-procedure/](https://wordpress.org/support/topic/how-to-use-sg-optimizers-filters-procedure/),
   but i have still problem to exclude one file from JS combination.
 * Its because system don’t add this “data-handle” to the script (and in the plugin
   dropdown its not also).
 * Its theme script: <script src=”[https://www.hexagonevert.fr/wp-content/themes/yootheme/vendor/assets/uikit/dist/js/uikit.min.js?ver=2.6.4″></script&gt](https://www.hexagonevert.fr/wp-content/themes/yootheme/vendor/assets/uikit/dist/js/uikit.min.js?ver=2.6.4″></script&gt);
 * Btw: i am using now another plugin for JS combine (wp rocket), because when i
   enable JS combine in SG, the site is broken. Anyway i would like to use just 
   SG optimizer, but i can do that just if i found solution for this.
 * Thank you very much in advance
 * Michal Ertelt
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fsg-optimizer-filter-problem%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Author [Ignat Georgiev](https://wordpress.org/support/users/ignatggeorgiev/)
 * (@ignatggeorgiev)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/sg-optimizer-filter-problem/#post-15121230)
 * Hey [@neomorph1](https://wordpress.org/support/users/neomorph1/),
 * We are able to exclude styles that are hooked to wp_enqueue_style, but there 
   are other techniques to include scripts and some themes don’t use the [wp_enqueue_script](https://developer.wordpress.org/reference/functions/wp_enqueue_script/),
   that’s why their scripts are not displayed in the exclude list.
 * We suggest contacting your theme developers and making sure that the script is
   included according to the WordPress standards in order for this to work properly.
 * Kind Regards,
    Ignat

Viewing 1 replies (of 1 total)

The topic ‘SG optimizer Filter problem’ is closed to new replies.

 * ![](https://ps.w.org/sg-cachepress/assets/icon-256x256.gif?rev=2971889)
 * [Speed Optimizer - The All-In-One Performance-Boosting Plugin](https://wordpress.org/plugins/sg-cachepress/)
 * [Support Threads](https://wordpress.org/support/plugin/sg-cachepress/)
 * [Active Topics](https://wordpress.org/support/plugin/sg-cachepress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/sg-cachepress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/sg-cachepress/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Ignat Georgiev](https://wordpress.org/support/users/ignatggeorgiev/)
 * Last activity: [4 years, 6 months ago](https://wordpress.org/support/topic/sg-optimizer-filter-problem/#post-15121230)
 * Status: resolved