Learn how to embed testimonials to WordPress with Trustmary's free plans.
Last Update 2 bulan yang lalu
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 Installing with the Trustmary plugin.
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!
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 Elementor
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.
This opens up the default page editor. To open the Elementor page editor, click the Edit with Elementor button near the top of the editor.
Find the HTML element from the elements section in the sidebar and drag & drop it into your page. After this, the element's settings are automatically opened and you're greeted with a textbox where you can enter your embed code.
Once the code is in place, click on the Publish button at the bottom of the sidebar, and you're done!