I have a template page that has form on that is only used once in my site. The form uses form validation using jquery validate plugin (such a great plugin). Once the cart66 Plugin is loaded, the form validation stops working.

Rather spending ages looking for the conflict, I thought it would be easiest to just turn off the plugin for that template page as cart66 is not need on this page.

Is it possible to stop plugins loading on individual template pages? I am using WordPress 3.2.1

3 Answers 3


Use Plugin Organizer. http://wordpress.org/extend/plugins/plugin-organizer/. It cant disable plugins by template but it can disable them by post, page, custom post_type, or arbitrary URL.

  • its a good plugin but it will not replace the code level editing, the plugin is good but not as efficient as manual editing
    – chandan
    Jan 5, 2015 at 7:22
  • The problem with manual code way is you have to do a lot of detective work to figure out resource names and such. What if you miss something? Whaat is the plugin gets an update and a resource is changed or added? You have to constantly double-check your manual code? Meanwhile with a plugin organizer everything is automatic.
    – Kalnode
    Nov 15, 2018 at 0:44

It sounds like the javascript from cart66 and your form plugin are in conflict. You can 'turn off' javascript per page/ post etc. by using the enqueue script function.

Hopefully both of your plugins are written well and include their javascript with this method.


If so, they will have a handle that you can use to deregister (or dequeue) the script.


You'll need to write a conditional script

<?php if(!is_page('FORM-PAGE-SLUG')){wp_dequeue('form-javascript-handle')}?>

that should be a good starting place.

  • Thanks already thought of searching for all the scripts that Cart66 includes and using enqueue to stop them. Would be nice if there was a way to just turn on the plugin all together.
    – lomokev
    Aug 2, 2011 at 18:02
  • That may not be possible, especially with an e-commerce plugin - there may be session data or other variables that need to be carried by functions throughout the entire site visit that you would lose by dropping functions. If anything, the best solution is to find out what is conflicting with form javascript. What errors are you getting in Firebug when you try to use the form? Aug 2, 2011 at 19:50

Yes, you can disable specific plugins or scripts form appearing on certain pages.

Check this example how I disabled the easy fancybox plugin from appearing

Hope it helps :)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.