the answer for all question about Oxygen Builder plugin and WordPress
5 Comments
  1. Brian Stal says

    I had the same with const mediaQuery … Don’t know why it happens

  2. Fang Acorn says

    dont matter that~sometime will show when use jQuery…but frontend is ok, I think its the panel loop render all code od site cause…..

  3. Gavin McIntosh says

    Try wrapping all of it in an iife

    (function () {
    //code here
    })();

  4. Johan de Jong says

    Is this code perhaps in a template which is repeated? Because Oxygen will then add the same piece of code every time it renders the template, and thus causing conflicts.

    Wrapping it in a `(function() { /* code */ })();` block will solve that issue.

  5. Hakira Shymuy says

    Use var instead of let.
    Oxygen dont deal good with let and const
    If you gonna use var it will work

Leave A Reply

Your email address will not be published.

Oxyrealm Docs