How to Add Google Reviews to WordPress (Block Editor, Elementor, Divi)
Show Google reviews on WordPress with a Custom HTML block, a page builder element or our plugin, put them on every page, and fix the caching settings that quietly hide review widgets.

On this page
- Two ways to do it: embed code or the plugin
- The block editor (Gutenberg)
- Elementor
- Divi, Beaver Builder, WPBakery and the rest
- Using the ReviewPine plugin instead
- Showing reviews on every page
- Why aren't my Google reviews showing on WordPress?
- Will a reviews widget slow down WordPress?
- Choosing which reviews appear
- Reviews on ad landing pages
- Agencies and Multisite
- Get started
Key takeaways
- In the block editor: Custom HTML block, paste the embed code, Update.
- Elementor uses the HTML widget, Divi the Code module, Beaver Builder the HTML module.
- The ReviewPine plugin gives each widget a shortcode and can show a floating badge on every page with one click.
- Most "reviews not showing" problems are a caching plugin delaying JavaScript; exclude the widget script.
- Only Administrators and Editors can save scripts on a single site; on Multisite, only Super Admins.
When a client tells me their review widget "vanished" from WordPress, I check the caching plugin first. Usually the widget is fine and something is delaying or stripping its script.
Adding Google reviews to WordPress itself is quick. Copy your widget's embed code, open the page in the editor, add a Custom HTML block where the reviews should go, paste the code and click Update. In a page builder you use its HTML or code element instead: the HTML widget in Elementor, the Code module in Divi. For every page at once, put the code in your footer, or use our plugin's one-click floating badge.
Two ways to do it: embed code or the plugin#
Both show the same widget, designed on ReviewPine. The difference is how it gets onto the page.
| Embed code in a Custom HTML block | ReviewPine plugin with a shortcode | |
|---|---|---|
| What you paste | One line of <script> code |
A shortcode like [reviewpine id="wgt_..."] |
| Install anything in WordPress? | No | Yes, the free plugin from WordPress.org |
| Floating badge on every page | Paste the code in a footer area | One click: Turn on under Show on every page |
| Works if you leave WordPress | Yes, the same line works on any site | No, shortcodes are WordPress only |
I'd use the embed code for a page or two if you're happy pasting code. I'd use the plugin if someone less technical edits the site, or you want a floating badge everywhere without touching the theme.
The block editor (Gutenberg)#
- In ReviewPine, go to Manage Widgets, click Add to website on your widget, then Copy code.
- In WordPress, open the page or post.
- Click the + where the reviews should appear.
- Search for Custom HTML and add the block.
- Paste the code into the block.
- Click Update (or Publish), then open the live page.

The block shows code, not reviews, in the editor. That's normal; use Preview or the live page.
One thing that trips people up: on a normal single WordPress site, only Administrators and Editors can save Custom HTML that contains a script. If your code disappears when you save as an Author or Contributor, that's why. Ask an Administrator to paste it.
Elementor#
Edit the page with Elementor, search the widget panel for HTML and drag it where the reviews should go. Paste the embed code into the HTML Code box and click Update. You'll see a placeholder while editing.
Divi, Beaver Builder, WPBakery and the rest#
Every builder I've worked with has an element for raw code. It's just called something different each time:
| Builder | Element to use |
|---|---|
| Divi | Code module |
| Beaver Builder | HTML module |
| WPBakery | Raw HTML element |
| Bricks | Code element (turn on code execution in the Bricks settings first) |
| Oxygen | Code Block |
| Classic Editor | Switch to the Text tab and paste |
Drop in the element, paste the line, save.
Using the ReviewPine plugin instead#
- In WordPress, go to Plugins → Add New, search for ReviewPine, then click Install and Activate.
- Open ReviewPine in the admin menu. If you don't have an account yet, click Create free account; it opens our site in a new tab where you add your business and create a widget.
- Back in WordPress, click Connect ReviewPine, then Allow and connect.
- Click Copy shortcode on the widget you want.
- Paste it into a Shortcode block, your builder's shortcode element or a text widget, and update the page.
Connecting only lets your site see your widget names and shortcodes. The plugin guide in our Help Centre has the full details, including what happens if you disconnect.
Showing reviews on every page#
A small badge in the footer works site-wide; fuller widgets belong on the homepage, service pages and contact page (where to put reviews on your website).
On a block theme, open the Site Editor (Appearance → Editor), go to your Footer template part, add a Custom HTML block, paste the code and save. On a classic theme, go to Appearance → Widgets and add a Custom HTML widget to a footer or sidebar area.
A Floating badge goes in one of those site-wide spots too, and then floats in its corner on every page. With the plugin, you skip all of that: choose the Floating badge layout for a widget on ReviewPine, click Refresh list on the plugin page, then Turn on under Show on every page.
Why aren't my Google reviews showing on WordPress?#
Back to the caching plugin. Most of these problems come from optimization settings, not the widget.
| What you see | Likely cause | What to do |
|---|---|---|
| Reviews appear only after you scroll, click or move the mouse | A "Delay JavaScript" setting in your caching plugin | Exclude the widget script from the delay |
| Nothing at all | Code stripped on save (user role), or a security plugin blocking it | Re-add it as an Administrator; check the security plugin's log |
| Old design still showing after you saved changes | Page cache or CDN cache | Clear the cache in your caching plugin and your CDN |
| Fine on desktop, missing on mobile | A separate mobile cache, or the block hidden on mobile | Clear the mobile cache; check the block's visibility settings |
| Layout looks squashed | Placed in a very narrow column | Move it to a wider section, or use a list or badge layout |
In WP Rocket the setting lives under File Optimization, in Delay JavaScript execution: add cdn.reviewpine.com to the Excluded JavaScript Files box. LiteSpeed Cache and the other optimization plugins have a similar exclusions list. If you're still stuck, work through widget not showing.
On WordPress.com, scripts need a plan that allows plugins or custom code.
Will a reviews widget slow down WordPress?#
It shouldn't, if it's built properly. Look for a script that loads asynchronously and only fetches reviews when the visitor scrolls near it, and check the page in Google's PageSpeed Insights before and after. Ours also reserves its space so the page doesn't jump, and sets no cookies, so it adds nothing to your cookie banner.
Your theme barely matters, because the widget renders in its own container that theme CSS can't reach. Width does matter: in a narrow column use a list, sidebar or badge layout, and save sliders and grids for full-width sections.
Choosing which reviews appear#
That's a widget setting, not a WordPress one. On a paid ReviewPine plan you can set a minimum rating, hide very short reviews, sort by newest or highest, and pin up to 10 favorites. Save the change on ReviewPine and every WordPress page with that widget updates by itself.
Reviews on ad landing pages#
Paid visitors usually know nothing about you yet, so on an ad landing page I put a slider with the rating header directly under the headline, before the form. Pin reviews that match the ad: emergency call-out ads should land on reviews about speed. Then track form submissions and call clicks; reviews and conversion rates explains how to measure the change.
Agencies and Multisite#
If you manage several client sites, give each client business its own widget with its own embed code or shortcode. On WordPress Multisite, only Super Admins can add unfiltered HTML by default, so either the person pasting the code needs that role or a Super Admin has to do it for them. The plugin gets around this: once a Super Admin has installed it, site administrators can paste shortcodes, because a shortcode isn't a script.
Get started#
Create a free ReviewPine account and find your business by name or paste its Google Maps link. Pick a layout from the widget gallery and match your brand colors. Then copy the code into a Custom HTML block, or install the plugin and paste the shortcode. On paid plans, the "Review us on Google" button also sends happy customers straight to your Google review form. The WordPress install guide has the same steps as a quick checklist.
Platform details checked on 23 October 2026.
Frequently asked questions
How do I add Google reviews to WordPress without a plugin?
How do I add Google reviews in Elementor?
Why did my review code disappear when I saved the page?
Why are my Google reviews not showing on WordPress?
Should I use the plugin or the embed code?
Turn your Google reviews into your best salesperson
Show real Google reviews on any page of your website, with a "Review us on Google" button that brings in new ones. On paid plans, new reviews appear by themselves. Set up in about five minutes.
- Works on WordPress, Shopify, Wix and any site
- Paid plans update by themselves
- No cookies, loads after your page


