這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

EC Stars Rating

外掛說明

A super fast WordPress star rating plugin, optimized for SEO, and with a really low impact on page load (just CSS + a bit of HTML, plus the strictly required JS for working).

Developers

The svn repo has been recently synchronized with a github one.

Contributions are more than welcome, so feel free to submit a PR there if you wish 🙂

How it works

Basically we create a new table called (prefix)ec_stars_votes, where we store the votes of the people (to prevent duplicate votes).

The number of votes and the sum of the total votes are stored in the (prefix)options table in form of custom meta fields, one for the count, and another for the sum. Both fields get updated when someone votes.

螢幕擷圖

  • Plugin basic style

安裝方式

  1. Upload the content of the zip package to /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Configure the plugin according to your needs. If you need help you can visit the plugin page
  4. Place the following snippet where you want the stars to appear (normally single.php, content-single.php or index.php):
  5. Additionally, if you just want the rating to appear in a single post, you can use the next shortcode:
    [ec_stars_rating]

常見問題集

What rich snippets format should I use, microdata or microformats?

Actually, microdata is recommended by Google, but with microformats google detects the stars and uses them in your searches (example).

使用者評論

2018 年 5 月 2 日
Best star rating plugin if your main goal is to get star ratings on SERPS without increasing your page load time much. VERY light weight and also flexible since you can either apply it globally or use it's short code to put ratings only on the pages you want! *Only downside at the time of this review is, the plug isn't up to date, but the author says he will try to update it soon!
2016 年 9 月 3 日
Perfect plugin, very fast and elegant. Después de probar 15 o 20 plugins de votos me quedo con este, funciona muy bien, es rápido, sencillo y elegante.
閱讀全部 16 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈EC Stars Rating〉的開發相關工作。

參與者

將〈EC Stars Rating〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

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

變更記錄

1.0.11

The plugin will not output metadata when there are no votes (see issue 2)

1.0.10

Add russian translation

1.0.9

Ensure WP 4.3 compatibility

1.0.8

Ensure WP 4.1 compatibility

1.0.7

Ensure WP 3.9 compatibility

1.0.6

Add best rating metadata to avoid GWT error

1.0.5

Ensure WP 3.8 compatibility

1.0.4

Added shortcode + Widget (beta)

1.0.3

Votes system fix (problem with db), and more internationalization.

1.0.2.1

Include language files

1.0.2

Internationalization

1.0.1

A bit of performance improvements and more accessibility and documentation

1.0

Initial stable release, with some number format fixes.