Title: disable loading of plugin CSS and JavaScript files
Last modified: June 29, 2026

---

# disable loading of plugin CSS and JavaScript files

 *  [tashword](https://wordpress.org/support/users/tashword/)
 * (@tashword)
 * [6 days, 19 hours ago](https://wordpress.org/support/topic/disable-loading-of-plugin-css-and-javascript-files/)
 * HI,
 * So I know it is easy to disable loading of plugin CSS and JavaScript files in
   this plugin, and I understand that I would need to copy the existing css/javascript
   file contents into my theme css/javascript file.
 * My question is if that actually saves my site anything in terms of css/javscript
   in use on the site? Or maybe the question is, does it save enough to risk not
   using the plugin code (in case of updates later, etc)?
 * What would happen if I just disabled css without copying it into css files – 
   would the form just follow the theme layout?
 * Thanks!

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

 *  Thread Starter [tashword](https://wordpress.org/support/users/tashword/)
 * (@tashword)
 * [6 days, 19 hours ago](https://wordpress.org/support/topic/disable-loading-of-plugin-css-and-javascript-files/#post-18950617)
 * FYI – I tried disabling the css without copying into my general css files. It
   resulted in a search box in the header (despite settings against that as I don’t
   normally have it there) and a couple of things on our site were not as well aligned
   as usual. Colours were all as per our site settings.
 *  Plugin Author [Vinod Dalvi](https://wordpress.org/support/users/vinod-dalvi/)
 * (@vinod-dalvi)
 * [5 days, 11 hours ago](https://wordpress.org/support/topic/disable-loading-of-plugin-css-and-javascript-files/#post-18952161)
 * I hope you are well today, and thank you for your questions.
 * That option is only for users who want to copy and load the CSS & JS code manually
   on the website for performance reasons.
 * It’s required to use the file code orelse the plugin functionality won’t work
   properly.
 * Also, It’s required to copy the updated code every time the plugin updates it.
 * Best regards,

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

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fdisable-loading-of-plugin-css-and-javascript-files%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://ps.w.org/add-search-to-menu/assets/icon-256x256.png?rev=2077748)
 * [Ivory Search - WordPress Search Plugin](https://wordpress.org/plugins/add-search-to-menu/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/add-search-to-menu/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/add-search-to-menu/)
 * [Active Topics](https://wordpress.org/support/plugin/add-search-to-menu/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/add-search-to-menu/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/add-search-to-menu/reviews/)

## Tags

 * [css](https://wordpress.org/support/topic-tag/css/)
 * [javascript](https://wordpress.org/support/topic-tag/javascript/)

 * 2 replies
 * 2 participants
 * Last reply from: [Vinod Dalvi](https://wordpress.org/support/users/vinod-dalvi/)
 * Last activity: [5 days, 11 hours ago](https://wordpress.org/support/topic/disable-loading-of-plugin-css-and-javascript-files/#post-18952161)
 * Status: not resolved