how can I make $ work in wordpress for jQuery?

I have a plugin I want to use, but it depends on the $ identifier, as apposed to using jQuery.

Is it possible to enable the $, to save me recoding the plugin?

EDIT

The plugin automatically adds the javascript, therefore I can’t wrap it.

3 Answers
3

Try this:

jQuery(function ($) {
    /* You can safely use $ in this code block to reference jQuery 
           Call your plugin here
       */
})

I think you already know this. But still for reference http://api.jquery.com/jQuery.noConflict/

Leave a Comment