Platforms
How to add a Google reviews widget to WordPress (3 ways, measured)
For a WordPress site, start with the JustReview plugin on WordPress.org. For the Testimonials carousel and Reviews Page, it puts review text into the page HTML on your server, so visitors and crawlers can read it before the browser runs JavaScript. Other layouts render in the browser. Your sources, account and plan stay in JustReview. A manual snippet remains an option when you prefer to manage the code yourself.
Updated on 29 October 2026: the plugin is now available in the WordPress.org directory. The transfer measurements below are the original July measurements of the browser widget files, not a benchmark of the plugin or a promise about every WordPress host.
Install the plugin without editing your theme
- Open Plugins → Add New Plugin in WordPress and search for JustReview. Install JustReview - Review Widgets for Google and Other Sources, then activate it.
- Open JustReview → Start. Sign in to your existing JustReview account or enter the Account ID from dashboard Settings. Create an account here if you need one.
- If the account has no source, click Connect Google. The dashboard opens on the Google connection step. Use the Google account that manages your business profile and select a location.
- Open Widgets, choose a layout available on your plan and save it. Use Place widget on this page, the JustReview: Reviews block, or the saved widget shortcode. For Elementor, use a Shortcode widget; for Divi, use a Code module with the shortcode.
- Clear the website cache and open the public page. Use Diagnostics in the plugin if it stays empty.
The plugin is free to install, and the JustReview account plan controls which layouts and review limits you can use. Installing it does not change your subscription or unlock paid layouts. On WordPress.com, your hosting plan must allow plugin installation.
Switching from a snippet without showing two widgets
Use the same JustReview account. Paste your existing generated code into the plugin’s Widgets screen to import its settings. Check the settings and preview because some options cannot be restored from code, then prepare the replacement. On staging, or in one controlled switch, remove the old container and its initialization before placing the plugin widget. Keep any shared library that another widget still uses. Purge the page cache and check that each widget appears once. Save the old snippet so you can restore it if needed.
For Testimonials and Reviews Page, the plugin caches a ready-made HTML fragment rather than importing reviews into WordPress posts. JavaScript still provides interactive features, so server rendering does not mean a page without JavaScript. Snippets build the review list in the browser; that is the practical difference when choosing how your reviews should reach a visitor or a crawler.
Manual snippet: the measured browser files
We measured our own production files on 26 July 2026, requesting them the way a browser does, with Brotli enabled:
| File | Uncompressed | Over the wire (Brotli) |
|---|---|---|
justreview.js | 487 KB | 128 KB |
justreview.css | 110 KB | 15 KB |
So the page pays roughly 143 KB of transfer for two requests, both served from the CDN edge with a
long cache lifetime, plus one request to our API for the review data itself. On the WordPress side
the cost is zero: no PHP executes, no query hits wp_posts or wp_postmeta, and nothing is written
to your database.
That is the honest number, not a marketing number. 143 KB is not nothing. It is, however, less than a single hero image on most WordPress themes, and it is static, cacheable and off your server. A plugin that renders reviews server-side moves that work back onto your hosting, on every uncached page view.
Why not just call the Google API yourself?
Because of a cap that surprises most developers on day one: Google’s public Places API returns a maximum of five reviews per place, and you do not choose which five. That is why so many free “Google reviews” tools show exactly five reviews and no more. To display more than that, reviews have to be imported and stored, which is the part that takes infrastructure rather than an afternoon. Both Google routes, and what each one lets you store, are compared in what the Google reviews API lets you build.
There is a second reason. Once you have built the Google integration, the next request from your client is always Facebook, then the industry platform they actually care about, then the marketplace they sell on. That is a different integration each time, with a different failure mode each time.
The snippet method, step by step
You can also keep the manual installation. Generate the complete code in your JustReview dashboard and follow the WordPress installation guide. Copy the library, widget configuration and container together. Load the shared library once and use the generated configuration rather than writing an initialization from memory.
The five reasons it renders nothing
We see these in support in roughly this order.
1. A consent tool is holding the script. Cookie banners with automatic blocking (Cookiebot’s
auto mode is the common one) rewrite third-party <script> tags to inert types until the visitor
accepts. The widget then never initialises for the majority of visitors who never click anything.
We hit this on our own site. If your review widget sets no cookies, mark the tag so the consent tool
leaves it alone:
<script defer src="https://justreview.co/widget/justreview.js" data-cookieconsent="ignore"></script>
Check your own widget’s network and storage footprint before you do this, and keep the decision documented. “It sets no cookies” is a claim you should be able to prove, not assume.
2. A caching or minification plugin reordered your code. Autoptimize, WP Rocket and friends
combine and defer inline scripts. If your JustReview.init... call ends up executing before the
library has loaded, you get JustReview is not defined in the console and an empty div. Exclude the
inline init from combination, or wrap it in a small retry loop.
3. The container is missing. Page builders sometimes strip unknown id attributes, and a Custom
HTML block inside a collapsed accordion may not exist in the DOM when init runs.
4. The account hash is wrong. Copying it from an old tab or a colleague’s account produces a valid-looking call that returns no data.
5. The source has not finished importing. First-time imports of a large profile take time. If the API returns no reviews, the widget renders nothing rather than an empty frame.
Where to put it on a WordPress site
Placement decides whether the widget does any work at all. Three spots earn their keep, in this order.
On the page where the decision happens. For a service business that is the service page, not the homepage. For a shop it is the product page and the cart. Reviews work as an objection handler, so they belong next to the objection: the price, the booking form, the “add to cart” button. A slider parked in the footer of every page is decoration.
Just above the contact or booking form. This is the cheapest win on most WordPress sites, because the form is where visitors hesitate and reviews answer the question they are actually asking: “will these people show up and do the job?”
On a dedicated reviews page, linked from the main menu. This one has a second benefit: it is a page you can point to from quotes, emails and Google Business Profile, and it is indexable content of your own. Use the reviews-page widget rather than the slider there, because visitors who land on that page came to read, not to be entertained by an autoplay carousel.
What we would not do: put the same slider in the header of every template. It pushes your actual content below the fold on mobile, and reviews stop being read the moment they become furniture.
If you want to see all six widget types side by side before choosing, they are on the Google reviews widget page, and the display limits per plan are on the pricing page.
Which option should you actually pick?
- Plugin for WordPress installation without editing theme files. Testimonials and Reviews Page include review text in the page HTML.
- Snippet in a child theme when you want to maintain the existing manual integration.
- Custom HTML block for manual placement on one page, with the shared library loaded once.
One thing worth deciding at the same time: do not plan for Google alone. Every business we onboard starts with Google and ends up connecting at least one more source, because Google is where people look and the other platforms are where the reviews already are. Whatever you install, check that it can add a second source without a rebuild.
One last thing the widget cannot do for you: it only shows the reviews you already have. If the count is thin, the fastest fix is asking, and the ask works best as a link that opens the review window in one tap or a QR code on the counter. Our free Google review link and QR code generator builds both from your Maps profile, without an account.
FAQ
Do I need a plugin to show Google reviews on WordPress?
You can use a snippet, but the JustReview plugin is the recommended WordPress installation. Its Testimonials carousel and Reviews Page include reviews in the page HTML before browser JavaScript runs. Your JustReview account plan controls layouts and review limits.
How many Google reviews can I display?
As many as the review source gives us for your profile. Google's public Places API caps out at five reviews per place, which is why tools built on that API show only five. A widget that imports and stores reviews is not bound by that cap.
Will a reviews widget slow down my WordPress site?
The plugin loads widget files only on pages with a widget and caches the HTML fragment. It still uses WordPress PHP and browser assets. The July measurements below describe those browser files, not a plugin performance benchmark.
Why does my widget show nothing after I paste the code?
In order of how often we see it: a consent tool blocking the script until the visitor accepts cookies, a caching or minification plugin reordering the inline init, the container div missing from the page, the wrong account hash, or a source that has not finished importing yet.