WordPress has a Custom HTML block that accepts the Shopreviews snippet as-is. Use it on a single page, or add it to a template so the widget appears on every product page of your WooCommerce shop.
Step by step
- Copy your snippet
Choose a layout, colours and review sources in the widget builder and copy the embed snippet.
- Open the page or template
For one page, open it under Pages. For all product pages on a block theme, go to Appearance → Editor → Templates → Single Product.
- Add a Custom HTML block
Click +, search for Custom HTML and paste the snippet into the block.
- Save and check
Click Update or Save and view the page on your live site.
Menu names are shown in English; in a translated admin they have the local equivalent.
What the embed snippet looks like
<div data-shopreviews="carousel"
data-lang="en"
data-sources="google,trustpilot,kiyoh"></div>
<script src="https://cdn.shopreviews.com/widget.js" async></script>
Example only: copy your own snippet from the widget builder or your Shopreviews dashboard. It contains your layout, colours, language and review sources.
Build your widget and copy the snippet →
Where to place the widget
- Single Product template — below the product summary or tabs, so every product shows your score.
- Homepage — a carousel or grid between your hero and featured products.
- Footer widget area — a small badge on every page of a classic theme.
Good to know
- Only users who are allowed to save unfiltered HTML (administrators on a single site, super admins on multisite) can save script tags. If the script disappears after saving, check your role.
- Page builders work the same way: use the HTML or code element in Elementor, Divi, Beaver Builder or WPBakery.
Other platforms
Using a different shop system? The same snippet works everywhere: Shopify · Magento · Lightspeed · BigCommerce · PrestaShop · Wix · Squarespace