Title: Exclude functionality
Last modified: July 24, 2020

---

# Exclude functionality

 *  Resolved [vengsie94](https://wordpress.org/support/users/vengsie94/)
 * (@vengsie94)
 * [6 years ago](https://wordpress.org/support/topic/exclude-functionality/)
 * May I know how can I exclude some js files from the JS minification? I tried 
   to search through the text box but the js file I wish to exclude does not appear.
   Is there any documentation or example on this? Thanks!

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

 *  [wpkum](https://wordpress.org/support/users/wpkum/)
 * (@wpkum)
 * [6 years ago](https://wordpress.org/support/topic/exclude-functionality/#post-13163893)
 * Same issue I’m figuring out.
    -  This reply was modified 6 years ago by [wpkum](https://wordpress.org/support/users/wpkum/).
 *  [Colin Kells](https://wordpress.org/support/users/kellscolin2020/)
 * (@kellscolin2020)
 * [6 years ago](https://wordpress.org/support/topic/exclude-functionality/#post-13163978)
 * The exclude scripts are shown on the plugin site.
 * Have a read of this there is a plugin by Peter Shaw here
 * [https://me.wordpress.org/plugins/lh-script-ids/](https://me.wordpress.org/plugins/lh-script-ids/)
 * The pluggin is old and not updated, but it worked for me yesterday.
 * Install the plugin then on the page you are working on view page source you the
   Style and Script name, this is required for the exclude scripts.
 * Note uninstall of the plugin leaves all the ids and script names.
 * Cheers
 *  [jetxpert](https://wordpress.org/support/users/jetxpert/)
 * (@jetxpert)
 * [6 years ago](https://wordpress.org/support/topic/exclude-functionality/#post-13169076)
 * [@vengsie94](https://wordpress.org/support/users/vengsie94/),
 * Click [here](https://wordpress.org/support/topic/how-to-use-sg-optimizers-filters-procedure/)
   for solution.
 * Cheers!
 *  Plugin Author [Hristo Pandjarov](https://wordpress.org/support/users/hristo-sg/)
 * (@hristo-sg)
 * SiteGround Representative
 * [6 years ago](https://wordpress.org/support/topic/exclude-functionality/#post-13173419)
 * Indeed the solution is in the thread above.

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

The topic ‘Exclude functionality’ 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/)

 * 4 replies
 * 5 participants
 * Last reply from: [Hristo Pandjarov](https://wordpress.org/support/users/hristo-sg/)
 * Last activity: [6 years ago](https://wordpress.org/support/topic/exclude-functionality/#post-13173419)
 * Status: resolved