the answer for all question about Oxygen Builder plugin and WordPress

I’ve just inserted some javascript into a code block. It does a redirect and tha

I’ve just inserted some javascript into a code block. It does a redirect and that’s fine.
The problem is I can’t edit or even delete the code block when I start the Oxygen Builder again for editing purposes.
Is it possible to stop Oxygen running the Code in the preview mode?



Source

3 Comments
  1. Radoš says

    jQuery(document).ready(function ($) {
    if ($(“html”).attr(“ng-app”) === “CTFrontendBuilder”) return;

    location.href = “//example.com”;
    });

  2. Sridhar Katakam says

    The only way that I know of (other than getting into the db) is to edit the Page/Template, copy all the shortcodes, paste in a text editor, locate the code corresponding to that Code Block, deleting it and pasting the edited shortcodes back in and updating.

  3. Mein-bester Freund says

    thank you for your thoughts! In this case I decided to create a new page, edit title and slug, and insert the script in Oxygen from a plain text editor. Do you know of a way to insert a javascript using ACF PRO or Advanced Scripts PRO? There’s nothing else than the script in the page. The templates do the design job. At the moment I’m not able to edit the script.

Leave A Reply

Your email address will not be published.

Oxyrealm Docs