Title: Can&#8217;t exclude scripts
Last modified: September 26, 2025

---

# Can’t exclude scripts

 *  Resolved [Sea Jay](https://wordpress.org/support/users/jcollier/)
 * (@jcollier)
 * [7 months, 2 weeks ago](https://wordpress.org/support/topic/cant-exclude-scripts/)
 * Hi!
 * I was advised to exclude the following Photonic scripts, but they are not available
   in the exclusion list in Speed Optimizer.
 *     ```wp-block-code
       https://www.jaycollier.net/wp-content/plugins/photonic/include/ext/splide/splide.min.jshttps://www.jaycollier.net/wp-content/plugins/photonic/include/ext/fancybox3/fancybox3.min.jshttps://www.jaycollier.net/wp-content/plugins/photonic/include/js/front-end/out/photonic-fancybox3.min.js
       ```
   
 * Here is the Photonic support thread:
 * [https://wordpress.org/support/topic/galleries-appearing-for-logged-in-user-not-public/](https://wordpress.org/support/topic/galleries-appearing-for-logged-in-user-not-public/)
 * Do you have any suggestions?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcant-exclude-scripts%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Support [Plamen M](https://wordpress.org/support/users/plamenm/)
 * (@plamenm)
 * [7 months, 2 weeks ago](https://wordpress.org/support/topic/cant-exclude-scripts/#post-18657934)
 * Hello [@jcollier](https://wordpress.org/support/users/jcollier/) ,
 * For such scripts, you can follow the instructions for custom filters. You can
   read more at:
 * [https://eu.siteground.com/tutorials/wordpress/speed-optimizer/custom-filters/](https://eu.siteground.com/tutorials/wordpress/speed-optimizer/custom-filters/)
 * There is also a very detailed thread here: [https://wordpress.org/support/topic/how-to-use-sg-optimizers-filters-procedure/](https://wordpress.org/support/topic/how-to-use-sg-optimizers-filters-procedure/)
 * If you still need assistance, please post a support ticket through the HelpDesk
   section in your Client Area with SiteGround.
 * _[ Please do not spam ]_
 *  Thread Starter [Sea Jay](https://wordpress.org/support/users/jcollier/)
 * (@jcollier)
 * [7 months, 2 weeks ago](https://wordpress.org/support/topic/cant-exclude-scripts/#post-18657971)
 * Thank you!
   I note that some scripts do appear in the exclude drop-down. I will
   submit a support ticket to find out if there is any info I can provide to the
   plugin developer to help them register their scripts in a standard way so they
   will appear in the Speed Optimizer exclude list.Thanks again!
 *  Moderator [Support Moderator](https://wordpress.org/support/users/moderator/)
 * (@moderator)
 * [7 months, 2 weeks ago](https://wordpress.org/support/topic/cant-exclude-scripts/#post-18658172)
 * [@plamenm](https://wordpress.org/support/users/plamenm/) Please lose the signature,
   that’s considered spamming when you do with with your site.
 *  Plugin Support [Plamen M](https://wordpress.org/support/users/plamenm/)
 * (@plamenm)
 * [7 months, 2 weeks ago](https://wordpress.org/support/topic/cant-exclude-scripts/#post-18658191)
 * You are welcome, [@jcollier](https://wordpress.org/support/users/jcollier/).

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Can’t exclude scripts’ 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/)

## Tags

 * [custom filters](https://wordpress.org/support/topic-tag/custom-filters/)

 * 6 replies
 * 3 participants
 * Last reply from: [Plamen M](https://wordpress.org/support/users/plamenm/)
 * Last activity: [7 months, 2 weeks ago](https://wordpress.org/support/topic/cant-exclude-scripts/#post-18658191)
 * Status: resolved