Maelezo
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).
Screenshots
Installation
- Upload the plugin files to the
/wp-content/plugins/simple-reviews-badge/
directory, or install the plugin through the WordPress plugins screen directly. - Activate the plugin through the ‘Plugins’ screen in WordPress.
- Go to Settings -> Simple Reviews Badge to configure the plugin options.
FAQ
-
How do I get my Google Place ID?
-
You can find your Google Place ID using the Google Place ID Finder.
-
How do I get a Google Places API key?
-
Refer to the Google Places API documentation for instructions on how to get an API key.
-
Does this plugin rely on any third-party services?
-
Yes, the plugin uses the Google Places API to fetch review data. Please refer to Google’s Privacy Policy and Terms of Service.
Reviews
Hakuna hakiki za programu-jalizi hii.
Wachangiaji & Wasanidi
“Simple Reviews Badge” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “Simple Reviews Badge” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
1.0.0
- Initial release of Simple Reviews Badge plugin.