This article will instruct you on how to embed Trustmary's testimonials and surveys to your site when using Divi as your WordPress theme and editor. If you're looking for instructions on the same subject, but for a different WordPress theme, please refer to the main article covering the integrations of Trustmary and WordPress.
Getting the embed code
First of all, you will need to copy the embed code for the inpage embed or the survey you're embedding from Trustmary.
For the reviews or testimonials, the code can be found by choosing the embed in question and opening it from the Embeds page, which can be seen on the image below.
The embed code will be shown on the embeds front page. The code can be copied by clicking the Copy embed code button, or manually selecting and copying it.
For surveys, the embed code can be found in the Collect tab of the survey in question. Once there, scroll down to the end of the page and you will see a section titled Embed to Website. Click Copy under the code snippet and you're ready to move to the next stage.
Embedding the code in The Divi Builder
Once you have the code, you're ready to embed it into your web page. Start by opening up your dashboard in WordPress and navigating to Pages. Here you can either add a completely new page by clicking Add New, or edit an existing page by selecting one.
In the editor view, locate and click the purple button that reads Use The Divi Builder to open Divi's editor view.
In the Divi Builder, click on the Plus icon to open the Insert Module window on where you want to place your embed. From the Insert Module window, choose Code.
In the Code module, locate the text box also titled Code and paste your embed code in the box. The result should look similar to the image below. After you're finished, click the green button with a checkmark at the bottom to close the Code module.
After the code is in its place, you can verify that the embed is working properly by previewing the page clicking the Preview button.