WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am using Optima Express theme (real estate inventory) plugin for my wordpress website. And it is working perfect in admin are.
But as i started to use it in front end it is started to conflict with Jquery of current active theme.
It does work with Twenty-Eleven, Twenty-Twelve but not the "Striking" and "Karma"themes I wish to use with this plugin.

What should i do ? Should i go to everyplace in code and write JquerynoConflict OR any better solution for this ?

All suggestion will be welcome.

share|improve this question
This question would be much more useful if it were generalized to include Theme-Plugin script compatibility in general. As it is, it is bordering on being too localized. – Chip Bennett Mar 8 '12 at 20:34
up vote 2 down vote accepted

From the looks of it, the IDX plugin is coded properly with noconflict, but there is some inline JS in the themes that is not. Wrapping those functions in

(function($) {
   // your functions here

will take care of the problem. All JS in WordPress should be run in noconflict mode, so yes you'll need to go through the theme code and make sure it's functioning properly.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.