This article will instruct you on how to embed Trustmary's testimonials and surveys to your site when using the Flatsome theme and editor in WordPress. If you're looking for instructions on the same subject, but for a different WordPress editor, 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.

Testimonial inpage

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.

trustmary integration embed wp wordpress default theme

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.

trustmary integration embed wp wordpress default theme code


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 Flatsome

Once you have the code, you're ready to embed it into your web page. Start by visiting your page through WordPress. Once there, hover the cursor over Edit Page in the WordPress toolbar near the top and click Edit with UX Builder in the drop-down menu.

wp wordpress integration embed flatsome trustmary

On your web page, click on any of the Plus signs and select Text from the sidebar that pops up. You can choose whichever you like of the presets you're presented with after selecting the text element and move to the next step by clicking Apply.

After this, the text elements settings are opened, and you should see a text box. This is where you need to paste the code that was copied earlier. The UX Builder shows you an instant preview of the embedding on the right. If everything looks allright in the preview, click Apply to save the element.

If the embed is non-responsive, not visible or not moving, please check that the embed code matches the one diplayed in Trustmary and that JavaScript is enabled on your browser.

Lastly just remember to click Update on the bottom left to publish the changes made to your website and you're all set!

Did this answer your question?