Divi Areas Script Generator

With this script generator, you can create custom initialization logic that runs when a certain Area is opened or closed.

How it works

  1. Fill out the form to generate a custom code snippet.
  2. Copy the final code from the "Result" box in the bottom.
  3. Paste the code to your website:
    • When you have Area-specific code (with an Area ID) you should create a Code-Module inside that Area and paste the code into that module.
    • When you have global code (no Area ID), then you can paste the code into the Theme Builder footer, a .js file in your child-theme, or into the <body> field in Divi | Theme Options | Integrations.

Notes

  • The form below is a "local form" that cannot be sent to our servers, the final code is generated directly in your browser.
  • Read more about ways to integrate JS code here: How to use the JS API

Code Generator

The Script Generator does not work inside the floating window. Click here to open this page in a new tab.

Samples

Loading ...
Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.