This page may contain affiliate links. Please read my disclaimer for more information.

How to Add a Gravity Forms Form to Your Page in Divi

  |  by Chris Eggleston

As of this writing, the Divi Builder does not have a built-in element for adding a Gravity Forms form to your pages. However, you can still use Gravity Forms with Divi, and in this article, I will show you two different methods you could use to add your forms to your pages in Divi.

The Divi Add-On Method

Using the Divi Gravity Forms plugin does more than just add a new Gravity Forms element to the Divi page builder, it also adds tools for styling your forms from within the page builder.

Divi Gravity Forms

You’ll need to download, install, and activate the plugin, but once that is done, head on over to the Divi editor for the page you want to add the form to and follow the steps below.

Divi Gravity Forms Plugin

  1. Click the plus to add a new module
  2. Search for “Gravity Forms
  3. Click to add the code module to the page
  4. Use the module editor to select your form
  5. Optional: Use the Design Tab to style your form (requires paid version)
  6. Click the Green Checkmark

Get this add-on here > Divi Gravity Forms plugin

The Shortcode Method

By default, Gravity Forms uses shortcodes to embed your forms on a page and with the Divi code element you can continue to use this method.

The only challenge, there is no “shortcode generator” like there is in the Classic Editor and in the Block Editor (shown below).

How to Get Your Shortcode

Gravity Forms has a document on how to create your shortcode, however, it’s a bit overkill when you just want a basic shortcode.

Below is the basic shortcode, you can copy and use it on your site, just be sure to change 1, in id=”1″, to your form ID.

[gravityform id="1" title="false" description="false" ajax="true"]

Adding Your Shortcode in Divi

You will need to know your form ID, which you can locate by following the steps below.

  1. Go to Forms => Forms
  2. Locate your form and identify your form ID

Complete the next steps once you are in the Divi editor for the page you want to add your form to.

  1. Click the plus to add a module
  2. Search for “code
  3. Click to add the code module to the page
  4. Past the shortcode into the module editor
  5. Change the ID to your forms ID number
  6. Click the Green Checkmark

The Wrap Up

I’m sure there are other plugins that can aid in the effort of adding a Gravity Forms form to your page with the Divi page builder, but hopefully this article has helped you figure out how to get it done easier!

If you need styling help. You can always use the Style Guide provided by Gravity Forms, however, if you want to design your form from the Divi builder, you will need the Divi Gravity Forms plugin.

If you have any questions, use the comments below.

Photo of author
About the Author
Chris Eggleston
Chris is not just a Gravity Forms enthusiast; he's a dedicated father and loving husband. As the proud owner of WP Mantis, he's on a mission to simplify the WordPress experience for site owners. He brings a unique perspective to the Gravity Forms community.


0 0 votes
Article Rating
Notify of

Inline Feedbacks
View all comments