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
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.
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.
http://codex.wordpress.org/Function_Reference/wp_enqueue_script
If so, they will have a handle that you can use to deregister (or dequeue) the script.
http://codex.wordpress.org/Function_Reference/wp_deregister_script
You’ll need to write a conditional script
that should be a good starting place.
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 🙂