zurb/foundation — Issue #286: WordPress jQuery Load and Foundation
Author: kailas108
Created: 2012-02-03 22:13:39+00:00
State: open

I implemented the Foundation WordPress template at:

drewsymo / Foundation (drewsymo-Foundation-5109b0f).

Then I installed BuddyPress and Simple-Press.

I found conflicts with the submit, search, and cancel buttons in the Simple-Press Forum which returned "javascript:void(null)". So they basically did nothing when clicked.

I went into Chrome's console and I see there are Uncaught ReferenceErrors and Uncaught TypeErrors.

However - none of these errors come when I activated the default 2011 theme.

Everything works perfectly. All the SimplePress buttons do what they are programmed to do.

So I have to assume the issue is coming from the Foundation theme I got from Drew's GitHub code. And, he got that from Zurb...

What could be happening that Foundation literally obliterates the objects declared in the Simple-Press code?

I looked at how jQuery is supposed to load in WordPress, and even though I know some code, debugging this issue is beyond me and I am concerned that I may not be able to use Foundation, and three weeks of customizing the code from Drew is down the drain.

What's the best approach to solving this problem?

Kailas