# How to add a WordPress testimonial widget

_Last updated: 3 December 2026_

To add a WordPress testimonial widget, paste the Openlaud embed code into a Custom HTML block on any page, post or widget area. No plugin is needed. On WordPress.com, script and style tags need a paid plan with hosting features activated; self-hosted WordPress sites accept them for administrators.

## How do I embed testimonials in WordPress?

1. In Openlaud, create a wall, choose the layout and colours, and open "Put it on your website".
2. Copy the script tag embed code.
3. In the WordPress editor, add a Custom HTML block where the wall should appear.
4. Paste the code and click Preview to check it.
5. Update or publish the page.

The script embed looks like this:

```html
<div data-openlaud="YOUR_WALL_KEY"></div>
<script src="https://openlaud.com/embed.js" async></script>
```

## Should I use the script or plain HTML in WordPress?

- **Script:** updates within a few minutes when you approve or remove a testimonial.
- **Plain HTML:** use "Export static HTML" in the wall editor and paste it into the Custom HTML block. The words are part of your page for search engines. Export again after changes.

See [do testimonials help SEO?](/guides/testimonials-and-seo) for when plain HTML is worth it.

## Why use an embed instead of a testimonial plugin?

A plugin stores testimonials inside WordPress and you type them in yourself. Openlaud collects them for you with a form customers fill in, keeps a consent record for each one, and lets you approve them before they appear. The same wall can go on WordPress and any other site.

New to collecting? Read [how to ask for a testimonial](/guides/how-to-ask-for-a-testimonial), or turn quotes you already have into HTML with the free [Wall of Love generator](/tools/wall-of-love-generator).

Using another builder? See the guides for [Webflow](/guides/embed-testimonials-webflow), [Framer](/guides/embed-testimonials-framer) and [Next.js](/guides/embed-testimonials-nextjs).

## Frequently asked questions

### Do I need a plugin to add testimonials to WordPress?

No. Paste the Openlaud embed code into a Custom HTML block. No plugin is needed on a self-hosted WordPress site.

### Does it work on WordPress.com?

WordPress.com's support page says script and style tags in a Custom HTML block need a paid plan with hosting features activated. On the free plan the code is removed.

### Will the testimonials update by themselves?

With the script embed, yes, within a few minutes of approving a testimonial. Pasted plain HTML is a copy, so paste it again after changes.

### Will my theme's CSS break the wall?

No. The script embed shows the wall in a shadow root, so theme styles and the wall's styles stay apart.

### Can I put the wall in a sidebar or footer?

Yes. Add a Custom HTML block to the widget area in the Site Editor or the Widgets screen and paste the same code.

## Sources

- [WordPress.com Support: Custom HTML block](https://wordpress.com/support/wordpress-editor/blocks/custom-html-block/), checked 3 December 2026
- [WordPress.org Documentation: Custom HTML](https://wordpress.org/documentation/article/custom-html/), checked 3 December 2026
