the answer for all question about Oxygen Builder plugin and WordPress

I, i’m using smartsupp wordpress chat support plugin on my site builded with Oxy


I, i’m using smartsupp wordpress chat support plugin on my site builded with Oxygen Builder.

It works great, but i’m annoyed, having 2 instances of the chat Box in my oxygen pages builder.

After a lot of tries, i’ve manage to get rid of the one inside the page preview of the builder by adding this javascript in a code block:

`var ready = (callback) => {
if (document.readyState != ‘loading’) callback();
else document.addEventListener(‘DOMContentLoaded’, callback);
}

ready ( () => {
/* If we’re in the builder, hide smartsupp */
if (window.angular) { smartsupp(‘chat:hide’); }

return;
})`

But i would like to disable the other, showing on the page itself when i’m editing my pages and my templaets with Oxygen Builder.

Any idea of how i could proced ?


Source

Leave A Reply

Your email address will not be published.

Oxyrealm Docs