Header Text - Showcase Google Reviews on Your WordPress Site

Showing off customer reviews is a powerful way to build trust and encourage more people to choose your business. But just copying and pasting reviews onto your WordPress site can backfire. It may look unprofessional and even raise doubts about the legitimacy of the feedback.

Luckily, there’s a better way to do it. You can embed Google reviews directly on your site, so they stay fresh and credible. Plus, using plugins or simple HTML edits means the reviews update automatically, keeping your site current without any extra work.

This guide teaches you how to embed Google reviews in WordPress and why it’s so important. We also show you where to place them for the best impact. Then, we show you a few easy ways to display Google reviews on the website.

KEY TAKEAWAYS

  • Displaying Google reviews in WordPress boosts credibility and trust.
  • Use plugins or the Google Places API to embed reviews.
  • Before you embed Google reviews in WordPress, get your API key and Place ID.
  • Choose a simple layout for a user-friendly review section.
  • Show only recent, most-related reviews to maintain quality.
  • Minimize extra code to prevent slow page loads.
  • Customize the design to match your site’s look.
  • Regularly update reviews to keep content fresh.

What Are Google Reviews & Why Embed Them?

Google reviews are star ratings and written feedback that customers leave about a business on Google. They appear on a business’s Google listing and are visible when people search for that business or its products and services.

These reviews help potential customers see what others think about the business, making them a valuable source of social proof and credibility.

Embed Google Reviews In WordPress - Google Reviews Example

Adding these reviews to your WordPress website can do more than display great feedback. They help build trust. When visitors see real reviews from actual customers, they’re more likely to believe that your business is reliable.

Plus, Google reviews can boost your site’s visibility in search results. Google considers customer feedback when ranking businesses, so displaying those reviews can help you get noticed.

Embed Google Reviews In WordPress - Another Google Reviews Example

Now, you must be careful about where to show Google reviews on websites. For example, a WordPress hosting company may highlight 5-star ratings on its homepage to show people’s experience with their services.

Embed Google Reviews In WordPress - Example of Google Reviews on WordPress Hosting Website

An online store could place customer reviews next to products to encourage more sales.

Embed Google Reviews In WordPress - Example of Google Reviews on Ecommerce Website

By embedding Google reviews, you’re not just displaying feedback; you’re showing potential customers why they should choose you over the competition.

Embed Google Reviews in WordPress with a Plugin

In this section, we’ll go through the following 3 methods to see how to add Google reviews:

  1. Use a WordPress Plugin.
  2. Use HTML and JavaScript.
  3. Use WordPress Block.

Let’s start with the easy method first.

If you want to display Google reviews on your WordPress site without dealing with complex code, using a plugin is the easiest way to do it. Plugins not only simplify the process but also keep the reviews updated automatically. There are various Google review WordPress plugins in the market that you can choose from. Some of the popular ones include:

  • WP Social Ninja
  • Widgets for Google Reviews
  • WP Google Review Slider
  • Reviews Feed by Smash Balloon

For this section, we’ll focus on how to embed Google reviews in WordPress using the Reviews Feed by Smash Balloon plugin. Let’s start.

Step 1: Create a Google API Key

To get started, you need to create a Google API key to connect your WordPress site with your Google account. To do that, follow these steps:

Go to the Google Cloud Console website and sign in with your Google account. If this is your first time using the console, you may need to accept the terms and conditions.

Once you log in, press Ctrl + O on your keyboard. A new window will appear. Click New project in the top-right corner.

Embed Google Reviews In WordPress - Create New Google Cloud Project

Enter a name for the project. This name is your reference, so use anything you like. Then, click Create to generate the project.

Embed Google Reviews In WordPress - Name Your New Google Cloud Project

After that, click the burger menu icon (three lines) in the upper-left corner.

Embed Google Reviews In WordPress - Access Navigation Menu

Go to APIs and servicesCredentials.

Embed Google Reviews In WordPress - Go to APIs and Services Credentials Settings

Again, press Ctrl + O and select the project you just created.

Embed Google Reviews In WordPress - Select Your Newly Created Project

In the search bar, type Places API and click it.

Embed Google Reviews In WordPress - Select Places API

Then, click Enable to activate the API.

Embed Google Reviews In WordPress - Activate Places API

After activating Places API, you’ll be asked to verify account information. Ensure these details are correct, then click Agree & continue.

Embed Google Reviews In WordPress - Verify Your Google Account Information

Verify your identity as well, then click Start free. Don’t worry, you won’t be charged unless you activate pay-as-you-go, full account, or select to prepay.

Embed Google Reviews In WordPress - Verify Identity to Start Free

Now, you need to create the API key. To do this, return to APIs and services Credentials. Click + Create credentials and choose API key.

Embed Google Reviews In WordPress - Create API Key

Google will generate a new API key. Copy this key and store it somewhere safe.

Embed Google Reviews In WordPress - Copy Newly Generated API Key

Google’s API keys are unrestricted by default. To prevent unauthorized use, you need to restrict the API key by navigating to Edit API key next to your newly created key.

Embed Google Reviews In WordPress - Edit API Key

 Under Application restrictions, select Websites. Then, click Add under the Website restrictions section.

Embed Google Reviews In WordPress - Restrict Key Usage Requests to Specified Websites

Enter your WordPress site’s URL (e.g., https://yourwebsite.com) and click Done. If you leave it blank, your API key will accept requests from any website.

Embed Google Reviews In WordPress - Website WordPress Website’s URL

To ensure Smash Balloon can access the Places API, click Add again, fill in https://www.googleapis.com, and click Done.

Embed Google Reviews In WordPress - Add Google APIs

Now, under API restrictions, choose Restrict key.

Embed Google Reviews In WordPress - Restrict API Key

Then, from the dropdown menu, search for Places API. Once it shows up, select it, then click OK. Now, click Save. It may take a few minutes for the settings to take effect.

Embed Google Reviews In WordPress - Select Places API and Save Settings

Step 2: Install & Activate Reviews Feed Plugin

Navigate to WordPress DashboardPlugins Add New. Search for Reviews Feed by Smash Balloon. Click Install Now and then Activate.

Embed Google Reviews In WordPress - Install Reviews Feed Plugin

Step 3: Add Google API Key to Smash Balloon

In the WordPress admin dashboard, go to Reviews FeedSettings. Scroll down to Manage API Keys and click Edit (pencil icon) next to Google.

Embed Google Reviews In WordPress - Manage API Keys for Google

Paste the API key you created earlier and click + Update.

Embed Google Reviews In WordPress - Add API Key for Google

Get fast, secure, and easy-to-manage WordPress Hosting from Hosted.com with a free SSL Certificate, daily backups, and 1-click installs.
With performance-driven features and real human support, your website stays fast and secure.

Step 4: Create a Google Reviews Feed

Go to Reviews Feed All Feeds and click + Add New.

Embed Google Reviews In WordPress - Add New Feed

In the new screen, click + Add Source.

Embed Google Reviews In WordPress - Add Source to Create Review Feed

Here, you need to verify your email. For this, click Verify Email.

Embed Google Reviews In WordPress - Verify Email

Confirm your email address and click Send Confirmation Link.

Embed Google Reviews In WordPress - Send Confirmation Link

Now, open your email and click Verify Email.

Embed Google Reviews In WordPress - Verify Email

After that, a new pop-up will appear. Click Yes, it is my domain to confirm that you own this domain name.

Embed Google Reviews In WordPress - Confirm Domain Ownership

After email and domain verification, you’ll be navigated to the Add Source pop-up. Select Google and click Next.

Embed Google Reviews In WordPress - Select Source for Google Reviews

Then, you need to enter the Place ID for the business location where you want to display reviews. To do this:

Go to thePlace ID Finder. Navigate to Find the ID of a particular place. Enter the business name or address in the search bar. Then, copy the Place ID that appears in the pop-up.

Embed Google Reviews In WordPress - Find and Copy Place ID

Paste the Place ID into the field and click Finish.

Embed Google Reviews In WordPress - Fill In Place ID to Finish Creating Google Reviews Feed

After successfully adding the source (ensure it’s checked), click Next.

Embed Google Reviews In WordPress - Checkmark Source and Move to Next Step

Select a template for your reviews feed (e.g., Default, Simple Cards, Single Review) and click Next.

Embed Google Reviews In WordPress - Select Google Review Template

Next, customize the layout, number of reviews to display, and other styling options. Once done, click Save to confirm your settings.

Embed Google Reviews In WordPress - Save Google Reviews Customization Settings

Step 5: Embed Google Reviews in WordPress Site

After saving customizations, click Embed and then click Copy to copy the reviews feed shortcode that you can add to any page, post, or WordPress widget.

Embed Google Reviews In WordPress - Copy Reviews Feed Shortcode

Now, go to the page or post where you want to display the reviews. Add a Shortcode block and paste the review feed shortcode. Lastly, click Publish/Save to display the feed.

Embed Google Reviews In WordPress - Add Reviews Feed Shortcode

TIP: You can refer to How to Use WordPress Blocks to Customize Your Site to learn how to add a WordPress block within a page or post.

Here’s how it appears on the front end:

Embed Google Reviews In WordPress - Embed Google Reviews in WordPress

Now, your WordPress site will automatically display Google reviews based on the settings you configured. If you need to make changes, you can always return to the plugin settings and tweak the layout or content display.

Embed Google Reviews In WordPress - Revise Layout or Content Display

This method keeps your reviews current, and builds trust with potential customers.

Use HTML & JavaScript to Embed Google Reviews in WordPress

If you’re comfortable working with code, embedding Google reviews using HTML and JavaScript can give you more control over how reviews appear on your WordPress site. This method lets you add reviews to any part of your site and ensures they update automatically when new feedback comes in.

Here’s how you can follow along with this method:

Step 1: Prepare Your Site & Collect Necessary Information

First, we recommend creating a child theme for this method because it involves editing theme files. This way, if you make any mistakes, your main theme won’t be affected.

After that, gather 2 essential pieces of information:

  1. Google Places ID: This identifies your business on Google Maps.
  2. Google API Key: This allows your site to access Google’s review data.

If you’re not sure how to get these, refer to the previous section in this tutorial for detailed instructions.

Now, you need to get the Google Places script, or you can load it using a script tag. This script will pull review data and display it on your site. To create it from scratch, navigate to the Maps JavaScript API documentation. Follow the instructions to generate the script. Then, copy the script URL, as you’ll need it for the next step.

Now, it’s time to move to the second step and add the script to your site.

Step 2: Edit Your Site’s HTML (Header.php)

Go to WordPress DashboardAppearance Theme File Editor. Locate header.php and open it. Next, copy and paste the following code just before the closing </head> tag:

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.1/jquery.min.js"></script>
<script src="https://cdn.jsdelivr.net/gh/peledies/google-places/google-places.js"></script>
<script src="https://maps.googleapis.com/maps/api/js?key=WRITE_API_KEY&libraries=places"></script>
<script>
    jQuery(document).ready(function() {
        $("#google-reviews").googlePlaces({
            placeId: 'WRITE_PLACE_ID',
            render: ['reviews'],
            min_rating: 5,
            max_rows: 0
         });
   });
</script>

Ensure you replace WRITE_YOUR_API_KEY with your actual Google API key that you created in Step 1: Create a Google API Key section, and WRITE_YOUR_PLACES_ID with your Google Places ID that you found using Google Place ID Finder tool in Step 4: Create a Google Reviews Feed section.

After that, click Update File to save the changes.

Embed Google Reviews In WordPress - Edit header.php File

If you can recall the previous method where we used the Reviews Feed plugin to embed Google reviews in WordPress, you’ll notice that we only selected Places API under API restrictions. But, to use this method now, you must enable and select 2 APIs:

  1. Places API.
  2. Map JavaScript API.

Otherwise, you may get the ApiTargetBlockedMapError error message in Chrome developer tools’ Console tab.

Embed Google Reviews In WordPress - Choose Required APIs

Step 3: Add Google Reviews Display Code to Your Post/Page

Now that the script is ready and added to header.php, it’s time to decide where you want the reviews to appear. Go to the post or page, navigate to the desired position to embed Google reviews in WordPress posts/pages. Insert Custom HTML block.

Embed Google Reviews In WordPress - Insert Custom HTML Block

Then, add the following line inside the Custom HTML block and save your post or page:

<div id="google-reviews"></div>
Embed Google Reviews In WordPress - Embed Google Reviews in WordPress Using Custom HTML Block

Now that everything is set up, preview the embedded reviews to check they display correctly. If the reviews don’t appear or look distorted, return to the header.php file and verify that the API key and Places ID are correct.

Troubleshooting Tips:

  • API Key Not Working: Double-check you’ve enabled the Google Places API in the Google Cloud Console.
  • Reviews Not Displaying: Ensure the Places ID matches your business listing.
  • Responsive Issues: Add custom CSSto adjust the review container for mobile and tablet screens.
  • ApiTargetBlockedMapError: Ensure you enable and choose the Map JavaScript API.

By embedding Google reviews using HTML and JavaScript, you get more control over how they display and where they appear on your WordPress site. This method also keeps the reviews updated automatically, so you don’t have to worry about manually adding new feedback. If you’re comfortable with code, this approach is a great way to showcase customer feedback in a way that aligns perfectly with your site’s design.

Use WordPress Block to Embed Google Reviews in WordPress

If you’d rather avoid coding and using a plugin, you can embed Google reviews directly into your WordPress site using the WordPress block. This method is straightforward and doesn’t require any extra tools, but it does involve copying and pasting some code. Let’s go through the steps.

Step 1: Generate Embed Code from Google My Business

Go to Google Maps and search for your business. Here, you’ll see a Share button. Click it.

Embed Google Reviews In WordPress - Search Your Business on Google Maps

As soon as you click Share, a new window will open with 2 options:

  1. Share link.
  2. Embed map.

Click Embed a map. Then, click COPY HTML to copy the HTML code for the map.

Embed Google Reviews In WordPress - Copy HTML Code for Embed

Step 2: Embed Copied Code into WordPress

Now that you have the embed code, it’s time to add it to your WordPress site. To do this, open the page or post where you want to embed Google reviews. Add a Custom HTML block. Then, paste the code you copied from Google Maps into the HTML block. Click Preview to check how it looks. Once satisfied, click Save.

Embed Google Reviews In WordPress - Add HTML Code to Embed Google Reviews

You can also adjust the width and height directly in the embed code. For example:

<iframe src="YOUR_GOOGLE_MAPS_LINK" width="600" height="400"></iframe>

Here’s how it appears on the users’ end. It’s also useful for Contact pages, where you can show website directions with Google reviews.

Embed Google Reviews In WordPress - Display Google Reviews with Directions
Strip Banner Text - Simplify your site setup with Hosted.com’s WordPress Hosting. [More Info]

FAQS

What happens if a customer deletes their review?

If a review is removed from Google, it will no longer appear on your website. The embedded review section dynamically pulls data from Google, so any changes in the review data will reflect on your site automatically.

Will displaying Google reviews affect my page load speed?

Yes, it can. Loading multiple reviews, images, and star ratings can increase load time. To minimize the impact, use lazy loading, limit the number of reviews displayed, and optimize your JavaScript and CSS files.

Can I customize the appearance of the Google reviews section?

Absolutely. Most plugins provide customization options like font styles, colors, and layout formats (grid, slider, list). If you’re using a custom script, you can add your own CSS to match the review section with your WordPress website’s design.

Can I embed Google reviews in WordPress from various business locations?

Yes. If you have multiple business locations, you can create separate review sections by using different Place IDs. Each Place ID will pull reviews from a specific location, allowing you to showcase reviews for multiple branches or stores.

What are the API limitations for displaying Google reviews?

Google Places API has usage limits, especially for free accounts. You’re permitted a set number of daily requests, and exceeding this can lead to blocked requests or additional charges. Rate limits also apply, restricting the number of requests per second. The $300 free credit covers basic usage, but heavy traffic or multiple review widgets can quickly use this up. Monitor your API usage in the Google Cloud Console to avoid disruptions and consider optimizing your implementation to reduce API calls.

How To Add Google Analytics To WordPress: A Step-by-Step Guide

How To Embed A Google Form In WordPress

How To Use The wp_insert_post Function In WordPress

How To Schedule A Post In WordPress: 2 Easy Methods

How To Fix ERR_FILE_NOT_FOUND Error In Google Chrome