0

I've got BuddyPress and Easy FancyBox installed, I've also got carouFredSel slider (not the WordPress plugin). When those two plugins are enabled, slider stops working properly (navigation bullets are missing).

Could it be some kind of jQuery conflict?

Here's header.php: http://pastebin.com/eBLpFBZ9 and here's page with the slider: http://adamklimowski.pl/chamois/

Thanks in advance for any help you are able to provide.

1
  • Post the relevant code here please. Questions should not depend on third party services.
    – s_ha_dum
    Commented Jun 30, 2013 at 20:35

1 Answer 1

1

WordPress loads jQuery in "No Conflict" mode. The $ alias does not work. This is the cause of most of the "jQuery doesn't work" questions on this site.

Your code is using that $ alias, despite the Codex warnings against doing so.

Use jQuery.(document) or wrap your code like...

(function($) { 
  $(function() {
    // more code using $ as alias to jQuery
  });
})(jQuery);

You should also not be embedding the script into the template like that. Save yourself some headaches and register and enqueue your scripts properly. By doing that you can easily load scripts only where needed and make use of very good dependency juggling.

Related

How Do I Use jQuery UI In My Plugin

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.