WordPress integration
Add a Testimonial Widget to WordPress
A Custom HTML block and one snippet. WordPress has one behaviour that catches almost everybody, and it is worth reading before you paste anything.
One flat price. Unlimited views. Your widget never switches off.
Three steps in WordPress
- 01
Edit the page or post
Open it in the block editor, and put the cursor where the testimonials should appear.
- 02
Add a Custom HTML block
Click the + to add a block and search for "Custom HTML". It is the block for raw markup — a Paragraph block will escape your code and show it as text.
- 03
Paste the snippet and update
Paste both lines into the block and click Update. The block editor shows the raw code; switch the block to Preview, or view the published page, to see the widget itself.
<div data-praisesnap-widget="YOUR_KEY"
data-praisesnap-type="wall"
data-praisesnap-height="320"
style="min-height:320px"></div>
<script async src="https://praisesnap.com/embed/v1.js"></script>The key is generated when you build the widget. Change data-praisesnap-type to carousel or badge for the other two widgets — everything else is identical.
Read this first
If your code disappears when you save, it is your user role
WordPress strips script tags from anyone without the unfiltered_html capability, which by default means everybody except an Administrator. Editors, Authors and Contributors can paste the snippet, save, and watch the script line silently vanish — no error, no warning. On a Multisite install it is stricter still: only Super Admins keep raw script tags. If the widget will not appear and the code looks half-missing, check which role you are signed in as before you check anything else.
Checked against WordPress’s own documentation on 23 August 2026. Interfaces change — if this no longer matches what you see, tell us and we will correct it.
What lands on the page
The real widget, running here, exactly as it would run on your site.
A live widget, rendered by the same code that runs on your site. The quotes are examples.
Questions people ask
Do I need a plugin?
No. The Custom HTML block is part of WordPress, and the widget is a script tag. Nothing to install, nothing to keep updated, and no plugin that can break on the next WordPress release.
My code vanishes every time I save. Why?
You are almost certainly not an Administrator. WordPress removes script tags when the saving user lacks the unfiltered_html capability, which only Administrators have by default — and on Multisite, only Super Admins. Ask an administrator to paste it, or to grant that capability.
Does it work with the classic editor?
Yes. Switch to the Text tab rather than Visual and paste the snippet there. The Visual tab will escape it.
Will a caching plugin break it?
The snippet is static, so caching it is fine. What caching does mean is that a change to your widget may take until the cache clears to appear — if you have just edited something and the page looks stale, purge the cache before assuming it failed.
Can I put it in a sidebar or footer?
Yes, using a Custom HTML widget in Appearance → Widgets, or a block in the site editor if your theme is block-based. The same snippet works anywhere the theme renders raw HTML.
Other platforms
Embeds do not run on the Webflow canvas
Two things that look like failure and are not
It stays blank until you publish, and that is normal
Wix embeds are iframes, so they do not reflow
Try it without an account
The builder needs no sign-up. Choose a widget, style it, copy the snippet, and paste it into your page to see how it sits before you decide anything.