Reviews and Rating – Google Business

Description

Do you have a Google Business listing and would like to show your current customer reviews and rating within your website?

This plugin will collect this data using your unique Google Place ID and display a well-formatted list of reviews and some associated tags such as the URLs for the same reviews on Google, a link to give customers direct access to post their own review and your Google Maps link.

Features:

  • Widget and Shortcode for customer reviews on Google
  • Very high level of customization with more added on request
  • Insert a list of customers’ reviews with ratings range, review length range, offset, limit, sorting, language and individual review(s) selection
  • Display the current rating as a number
  • Display the total number of reviews
  • Shortcode link to reviews and current rating on Google
  • Shortcode link for customers to leave their rating and write a review on Google
  • Shortcode link to the business place/location with Google Maps
  • 8 designs/themes and an option to display without any styling
  • Customize appearance with switch of review text, hide or overwrite avatars, date formatting, and much more
  • Demo mode to help create your website before it goes live; without requiring Google API credentials
  • View all retrieved reviews and selectively hide reviews
  • See the latest formatted JSON data from Google’s API
  • Retrieves reviews in the background, collecting more through Google’s API over time
  • Clear cache and reset functionality to clear all plugin data
  • Advanced capability to import all review data from Google’s review popup HTML (inspecting the live HTML)
  • A comprehensive and free plugin with no upgrades for additional functionality

Requirement:

Recommendations:

This is my first public plugin, so all comments are very welcome. I would also like to see your usage so I can introduce new themes.

Getting started with Google API

In order to run this plugin, you will need a Google API Key and to locate your Place ID

Screenshots

  • Example of the reviews listing with Light/Dark themes and the Badge theme (reviews hidden)
  • Dashboard view Google API, Place ID and general review display settings – Demo mode set
  • Shortcodes with some examples of the parameters
  • Details of the many shortcode parameters available to customise the display
  • Dashboard view of all retrieved reviews, with more added over time from Google
  • Dashboard view of current retrieved data using the Google API
  • Widget with extensive customization in the Dashboard
  • Dashboard view of advanced HTML import
  • Dashboard view of advanced import with 2 new reviews

Installation

  1. Upload the plugin files to the /wp-content/plugins/g-business-reviews-rating directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress
  3. Use the Settings->Reviews and Rating – Google Business screen to configure the plugin with your Google API Key and the business’ Place ID
  4. Once the Google Credentials are set, available shortcodes will appear to place in any page, post or use the widget

FAQ

How do I get a Google API Key?

All the details for collecting your Google API Key can be found at: Google API Key Guidelines.

Once your Project is set, you will need a new API Key with access to the Places API. As a restriction, set your host’s IP Address (not your website’s URL). Details of this value are listed in the Settings->Reviews and Rating page.

The Google API is required for this plugin to load the data from the Google API.

How do I find my Places ID?

You can location your unique Place ID using Google’s: Place ID Finder

I have more than 5 reviews, why can I only see 5 in this plugin?

The Google API only offers a maximum of 5 relevant reviews at a time. Fortunately, this plugin will collect more reviews over time giving you more options to display your own selection of reviews from a larger pool. If you feel comfortable with the HTML Inspector in your browser, you can import all the reviews showing in the Google reviews popup.

Why can’t I see any reviews on the website?

Your first place to check is the Retrieved Data tab in Dashboard->Settings. If there is an error here, follow the advice offered by the Google API. If you can see some reviews listed, check for restrictions in your settings or shortcode that may limit the results. You can use the parameter: errors=1 to report back potential issues in the front-end.

I don’t have any reviews yet, how can I develop my new website without any data to preview?

There’s a demo mode that will populate some reviews for you and allow for testing prior to going live.

Reviews

November 11, 2019
Nice plugin with extensive settings. The developer promptly answers the following questions
October 17, 2019
Very impressed with the functionality of this plugin. Manual HTML import worked smooth and took less than a minute. I found a couple small issues and the developer resolved them shortly after I reported them. This is an amazing plugin. Looking forward to seeing what else this rockstar dev releases.
August 17, 2019
No muss, no fuss. This plugin does what it's designed to do and does it so well.
Read all 4 reviews

Contributors & Developers

“Reviews and Rating – Google Business” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

1.32

  • Improved number parse for imported rating numbers
  • Added a js-links fall-back to circumvent conflicts with event tracking of links starting with a hash
  • Improved consistency of review excerpt trimming
  • Added shortcode examples of Google icon to links/buttons

1.31

  • Restored no excerpt when non-numeric (or < 20) value is set as a parameter
  • Added review/reviews parameter description in Dashboard->Settings list

1.30

  • Fixed empty shortcode attribute error (Thanks to @markima75)
  • Improved styling in Advanced tab in Dashboard->Settings for some screen sizes

1.29

  • Added a shortcode parameter to override the review/reviews word in the summary (Thanks to @sebastienrenaudeau)
  • Improved logic for review limits so Dashboard->Settings value is a true fallback
  • Improved language support in Dashboard and for review/reviews word

1.28

  • Improved language filtering in shortcode (Thanks to @niseadel)
  • Added language filtering in widget
  • Improved Badge theme styling – star alignment and spacing

1.27

  • Fixed PHP tag closure shortening in Settings template file (Thanks to @indekssolutions)
  • Added inline style for review meta (author name, rating, date)
  • Added date formatting support to override relative time

1.26

  • Fixed bug for minimum rating when set to 5 in shortcode

1.25

  • Added translatable relative time words (Thanks to @chris-kns)
  • Added option to hide or override business name (Thanks to @chris-kns)

1.24

  • Added random shuffle for sorting reviews
  • Added functionality to clear cache and retrieve current Google data
  • Improved Widget customization in Dashboard
  • Added new attribution parameter to force light or dark background version

1.23

  • Change to checking of cron task (Thanks to @designermark)

1.22

  • Checking for existence of language review text array value

1.21

  • Fixed two Safari issues: SVG images not appearing and main rating star width is now wider (Thanks to @sterlingokura and @nouvellessubstances)
  • Fixed specific review ID listing bug (Thanks to @sterlingokura)

1.20

  • Change to setting cache to help show reviews after initial setup
  • Added a parameter to show/hide errors and warnings in the shortcode

1.19

  • Changed review ordering for IDs
  • Fixed bug with empty attributes (Thanks to @marameodesign)
  • Added a numeric limit check in review filter

1.18

  • Added new themes to Widget
  • Added plugin reset functionality
  • Added review sorting for shortcode and widget
  • Set Advanced HTML import to pre-select new reviews

1.17

  • Improved Google API Key error notice (Thanks to @minks32578)
  • Improved tab navigation, with last active section visible upon return
  • Added none/some/all reviews to assist with setting the review limit

1.16

  • Added a comprehensive list of shortcode parameters
  • Fixed theme shortcode parameter
  • Added language filter
  • Added a checklist for the advanced section (Thanks to @minks32578)
  • Minor fixes, usability and design alterations

1.15

  • Added two new themes for a more compact Badge appearance
  • Allowing a zero review limit to intentionally hide all reviews
  • Added new shortcode parameters to handle layout
  • Improvements to styling

1.14

  • Checking for existence of array keys in early Google review data
  • Fixed regular expression for customised icon string
  • Removed button class attribute when parameter is set

1.13

  • Fixed error in Google write review and view reviews link class attribute

1.12

  • Fixed JavaScript context error in handling the HTML import

1.11

  • Improvements to navigation menu in Dashboard
  • Refreshing relative times from retrieved data

1.10

  • Minor design and functionality changes
  • Added a missing shortcode attribute (Thanks to @conceptio)

1.9

  • Advanced – Improved stability of HTML Import functionality
  • Changes to design

1.8

  • Advanced – Added import functionality from the HTML in Google Reviews popup
  • Changed default sort order to remain more constant over time
  • Other minor improvements to design and functionality

1.7

  • Updated definition of dummy data for Demo Mode

1.6

  • Added set of all data prior to displaying Dashboard->Settings

1.5

  • Added a refresh of data upon plugin upgrade

1.4

  • Improved shortcode customization
  • Improved the switch between modes
  • Added widget with live preview support

1.3

  • Added show/hide review functionality

1.2

  • Fixed a style issue in Dashboard->Settings

1.1

  • Added Demo mode
  • Extended review listing functionality

1.0

  • Initial version