Title: Javascript loaded on every page?
Last modified: July 25, 2018

---

# Javascript loaded on every page?

 *  Resolved [babawich](https://wordpress.org/support/users/babawich/)
 * (@babawich)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/javascript-loaded-on-every-page/)
 * Been testing this on a local install. It seems like files are loaded on every
   page and not just the contact form 7 pages. I have it fixed for contact form 
   7. Is there an easy way to remedy this?
 * Thanks

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

 *  Plugin Contributor [Yuval](https://wordpress.org/support/users/yuvalsabar/)
 * (@yuvalsabar)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/javascript-loaded-on-every-page/#post-10527691)
 * Hן [@babawich](https://wordpress.org/support/users/babawich/),
 * Yes, you can use [wp_dequeue_script function ](https://codex.wordpress.org/Function_Reference/wp_dequeue_script)
   to do so, and then [enqueue the files](https://developer.wordpress.org/reference/functions/wp_enqueue_script/)
   wherever you want.
 * Yuval.
 *  Thread Starter [babawich](https://wordpress.org/support/users/babawich/)
 * (@babawich)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/javascript-loaded-on-every-page/#post-10527751)
 * Thanks I’m not that tech. What will I put?
 *  Plugin Contributor [Yuval](https://wordpress.org/support/users/yuvalsabar/)
 * (@yuvalsabar)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/javascript-loaded-on-every-page/#post-10527910)
 * Hi [@babawich](https://wordpress.org/support/users/babawich/),
 * There is no way to do that without programming knowledge, but I assure you, there
   is only one small script file, and it won’t make you website any slower. If you
   want to make sure, check your loading time in the browser with or without the
   plugin, or use a plugin called [Query Monitor](https://he.wordpress.org/plugins/query-monitor/)
   to check. My recommendation is to use a caching plugin as well, which will make
   our plugin an absolute zero effect on speed.
 *  Thread Starter [babawich](https://wordpress.org/support/users/babawich/)
 * (@babawich)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/javascript-loaded-on-every-page/#post-10528273)
 * Isn’t it just something I put in my functions file? I have something for contact
   form 7. Just don’t know what to put for yours. I like to keep things clean and
   tidy.
 * Thank you

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

The topic ‘Javascript loaded on every page?’ is closed to new replies.

 * ![](https://ps.w.org/wpcf7-redirect/assets/icon-256x256.gif?rev=3416723)
 * [Redirection for Contact Form 7](https://wordpress.org/plugins/wpcf7-redirect/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wpcf7-redirect/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wpcf7-redirect/)
 * [Active Topics](https://wordpress.org/support/plugin/wpcf7-redirect/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wpcf7-redirect/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wpcf7-redirect/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [babawich](https://wordpress.org/support/users/babawich/)
 * Last activity: [7 years, 10 months ago](https://wordpress.org/support/topic/javascript-loaded-on-every-page/#post-10528273)
 * Status: resolved