
Simple Reviews Badge
by Joseph D'Souza on WordPress.org
Show your Google rating on your website with a simple badge, including stars and number of reviews.

Example of the Simple Reviews Badge display.
Simple Reviews Badge is a lightweight plugin that displays aggregate Google Reviews and star ratings in a customisable badge format. It uses the Google Places API to fetch and display reviews with schema markup support for better SEO.
Key Features:
* Display Google Reviews with aggregate ratings and stars.
* Customisable through WordPress admin settings.
* Supports schema markup for enhanced SEO.
* AJAX-based loading for better performance.
* Filterable and customisable HTML structure.
Usage
You can display the Simple Reviews Badge on any page or post by using the following shortcode:
[simple_reviews_badge_display_reviews include_schema="true" img_src="./logo.png"]
- include_schema (default: false): Whether to include a product schema describing your review count and average score. Enabling this will add a review star rating to your Google search results on the page your shortcode is included.
- img_src (default: see settings page): Override the main image from the settings page for a single reviews badge instance
The shortcode will render a Simple Reviews Badge with stars, aggregate ratings, and a review count.
Settings
To configure the plugin, go to Settings > Simple Reviews Badge in the WordPress admin panel. Here are the available settings:
Basic Settings
- Google Place ID: The Place ID of your business location on Google.
- Google API Key: Your Google Places API key.
- Review Badge Image URL: The image displayed alongside the reviews (e.g., Google logo).
- Cache Duration: How long (in seconds) to cache the review data before fetching fresh data.
- Google Review Link: A link to the reviews page on Google (used in the badge).