-
Notifications
You must be signed in to change notification settings - Fork 860
jquery.js conflict with popular wordpress plugins #645
Comments
Hi Colorweaver :-) Could this be the same issue as the issue that I mentioned to Ole 3 months ago? See here (#451) My guess is that FoundationPress comes bundled with the CDN version of jQuery, and this causes issues with WordPress plugins, as WordPress plugins assume that WordPress takes care of "al things jQuery". Every version of WordPress comes bundled with jQuery, so you could either wrap your js code in "no-conflict" code tags, or enqueue jQuery the "WordPress way" |
Hey David, Thanks for the tip, I have managed to resolve the errors for both of the plugins, "Slider Revolution" + "Hero Menu" through changing the following slice of code: Step 1: Step 2: Step 3: Another method that was also able to be use to resolve issue, was to delete all contents of the "foundation.js" file. I think this file may need a bit of fine tuning via the community. Foundation 5 had no issues with this functionality, only the recently published Foundation 6. Thanks again :) |
Running jQuery in noConflict mode should not be necessary since we only load one version of jQuery (Google CDN). I don't know if some third-party plugins require that jQuery is bundled with WordPress. Can't see why they would do that. There are many reasons why it's beneficial to use a CDN.
|
The latest version of FoundationPress is experiencing jquery.js conflict with popular wordpress plugins.
Below are 2 examples of well known wordpress plugins that are no longer working with the latest version of this theme. Other plugins that I regularly use are also no longer working.
Slider Revolution 5.1.5 - ThemePunch:
Hero Menu Version 1.6.2 - Hero Plugins:
Settings:
Mamp Pro Version 3.5
FoundationPress Version 2.2.0
Wordpress Version 4.4
Xcode Version 7.2 (7C68)
Node.js Version 4.2.3
OS x EI Capitan version 10.11.12
The text was updated successfully, but these errors were encountered: