The most common signup forms you find on websites are inline forms. Those are the ones that are embedded to website pages, blog posts, sidebars, or footers. Unlike popup forms, they appear as a natural part of the web page and are displayed at all times.
How can you embed such an inline form to your website?
By adding two code snippets.
It's easier than you think. Let me prove it to you!
Start with creating an inline form. This help center article walks you through the steps of how to create and customize your form.
Next, click the black Embed button in the top right corner. You'll see the two embed codes that you need to add to your website so that the form gets displayed and your subscribers can sign up. It will look something like the below image.
Note: both the so-called header code
and the inline code
has to be added to your website. It is not enough to add only one of them.
How to add the Header code to your WordPress website with Divi
Step 1. Go to Divi > Theme options > Integration.
Step 2. Make sure to Enable header code. (See below screenshot as a reference.)
Step 3. Paste the header code snippet from Flodesk to the Add code to the < head > of your blog section.
For additional details visit the official Divi documentation at:
https://www.elegantthemes.com/documentation/divi/theme-options/
How to add the Inline code snippet to your WordPress website using Divi Builder
Follow the instructions from Elegant Themes on how to add the second part of the Flodesk inline form code via the Divi Code module. Read about it in detail here:
https://www.elegantthemes.com/documentation/divi/code/
Note: the Code blocks are invisible in the visual builder. You have to exit the visual builder to see them.
Troubleshooting
If the inline form doesn't appear or work after adding the header code directly in Divi, install a headers/footers plugin (like this one) and add the header code via the plugin instead.
Summary
How to add an inline form to your WordPress website with Divi Builder:
To embed an inline form to your WordPress website you have to add both the header code and the inline code to your website.
To add the header code go to Divi > Theme options > Integration, and paste the header code to the Add code to the < head > of your blog section.
The inline code goes to a Divi Code module where you want the form to show on the page.