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.

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈Simple Reviews Badge〉的開發相關工作。

參與者

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

對開發相關資訊感興趣?

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

變更記錄

1.0.0

  • Initial release of Simple Reviews Badge plugin.