Note: This guide applies to the Solo plans.
This article will instruct you on how to embed Trustmary's testimonials and surveys to your site when using WordPress' default theme and editor. 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.
Installing with the Trustmary plugin
The easiest way to embed widgets to your WordPress site is to use our official WordPress plugin. The plugin works seamlessly with all WordPress themes and editors.
Check out our guide on installing and using the plugin!
Getting the embed code
Start by navigating to the Widgets section in Trustmary. In there, select a widget or create a new one.
In the widget editor, click the Add to website button which opens up a drawer. From there, copy the code snippet with the Copy script button.
What to do with the code snippet?
For the widgets to work, you'll need to copy the code from Trustmary to your website, either straight to the source code, or through your platform's editor. The website platforms usually have an element called code, html, embed or the like that can run the code.
For more information on embedding to different platforms, check out our help article collection on the topic.
Embedding the code in Flatsome
Start by visiting your page through WordPress admin. 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.
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 element 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.
Lastly just remember to click Update on the bottom left to publish the changes made to your website, and you're all set!