zurb/foundation — Issue #282: jQuery menu conflict in WordPress
Author: kailas108
Created: 2012-02-02 00:36:28+00:00
State: open

I am using the starter WordPress theme with Foundation and I have found that app.js

$('.nav-bar li').has('ul').addClass("has-flyout");
$('.nav-bar li ul').addClass("flyout");

These two lines cause conflicts with some of the plugins.

One plugin Simple-Press is very well written and one of the lead programmers stated that calling jQuery in this way, with the $ sign is not the way it is intended for WordPress.

I would like to find out if anyone can help me with this issue. It seems upon a little web research that there are specifically "correct" ways of calling jQuery in WordPress.

Is there any chance this app.js file could be redone easily according to the WP standards?

Peace,

Kailas