Simple Reviews Badge

描述

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

  1. Google Place ID: The Place ID of your business location on Google.
  2. Google API Key: Your Google Places API key.
  3. Review Badge Image URL: The image displayed alongside the reviews (e.g., Google logo).
  4. Cache Duration: How long (in seconds) to cache the review data before fetching fresh data.
  5. Google Review Link: A link to the reviews page on Google (used in the badge).

螢幕截圖

  • Example of the Simple Reviews Badge display.

安裝

  1. Upload the plugin files to the /wp-content/plugins/simple-reviews-badge/ directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress.
  3. Go to Settings -> Simple Reviews Badge to configure the plugin options.

常見問題

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.

評價

There are no reviews for this plugin.

貢獻者及開發者

“Simple Reviews Badge” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Simple Reviews Badge 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

1.0.0

  • Initial release of Simple Reviews Badge plugin.