Add testimonials to a WordPress site
Collect and show customer testimonials on WordPress with SiteBackend - paste the embed code into a Custom HTML block. No plugin needed.
Add SiteBackend testimonials to WordPress by pasting the embed code into a Custom HTML block. There's no plugin to install, and testimonials are stored and approved in SiteBackend, not in your WordPress database.
Get the embed code from your site's Testimonials tab in the dashboard: Collect for the form customers fill in, and Widgets for the wall, carousel, highlight or badge that shows approved ones.
Add a Custom HTML block
Open the page or post in the block editor, click + where the widget should appear, and choose Custom HTML.
Paste the embed code
<div data-sitebackend-widget="w_YOUR_WIDGET_ID"></div>
<script src="https://sitebackend.com/widget.js" async></script>Update and check
Save the page and open it. Use the block's Preview tab, or view the page itself, to see the widget.
Page builders such as Elementor have their own HTML widget; paste the same code there. With a classic theme, use the Text tab of the classic editor.
If the script is removed when you save
WordPress only lets some users save script tags:
- On your own WordPress install, administrators and editors can. On a multisite network, only super admins can.
- On WordPress.com, only plans that allow plugins or custom code keep scripts.
If your account can't save scripts, add the script line once through a header and footer code plugin, or your theme's footer, and paste only the div into the Custom HTML block.
Local and staging sites
Widgets work on localhost even when your SiteBackend site has a domain set. Staging sites on another domain are blocked, though. See sites.