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

Post Star Rating

描述

Allows users to vote for the posts and display ranking of the best posts.

Extra shortcodes

If you want to have scoreboards displayed on your website, you can use the following shortcodes:

  • [psr_bests_of_month]: Displays a list with 10 best post of the current month.
  • [psr_bests_of_month month=8]: Displays a list with 10 best posts of august. You can specify month number from 1 to 12.
  • [psr_bests_of_month month=8 limit=5]: Displays a list of 5 best posts of august. You can specify both month number from 1 to 12 and any digits for the limit.
  • [psr_bests_of_moment]: Displays a list with the 10 best post at the moment. It shows trends too.
  • [psr_bests_of_moment limit=5]: Displays a list with the “limit” of the best post at the moment. You can specify any digits for the limit. It shows trends too.

螢幕截圖

  • Stars for rating.
  • Stars after voting.
  • [psr_bests_of_month] and [psr_bests_of_moment] shortcodes output.

安裝

This section describes how to install the plugin and get it working.

  1. Upload post-star-rating.zip to the ‘/wp-content/plugins/’ directory
  2. Unzip the post-star-rating.zip to the ‘/wp-content/plugins/better-delete-revision/’ directory
  3. Activate the plugin through the ‘Plugins’ menu in WordPress
  4. Add the if( function_exists( ‘psr_show_voting_stars’ ) ) psr_show_voting_stars(); code in your template files. For example: put this after the post title:

評價

There are no reviews for this plugin.

貢獻者及開發者

“Post Star Rating” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Post Star Rating 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

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

修改日誌

Version 0.3.5 – 03.12.2014

  • Update : We remove a menu page.

Version 0.3.4

  • Update : We updated all functionality for WordPress 4.0.1.
  • NEW : We added a menu page.

Version 0.3.3

  • NEW: We updated all functionality for WordPress 4.0.
  • NEW: We added extra shortcodes: [psr_bests_of_month] and [psr_bests_of_moment].

Version 0.3.2

  • Bugfix: Fix PRS_bests_of_moment($limit) to show up to $limit rows.

Version 0.3.1

  • Bugfix: Avoid database error in PSR_bests_of_moment() Tag when rating database is empty.

Version 0.3

  • New: AJAX support for voting without page reloads.
  • New: Added Template Tag “PSR_bests_of_moment($limit)”.
  • Bugfix: Don’t allow rating if cookies are disabled.
  • Bugfix: The entries of list generated by “PSR_bests_of_month($month, $limit)” tag are links to the posts now.
  • Bugfix: CSS adjusts.

Version 0.2

  • New: Added two fields to database: “ip” and “vote_date”.
  • New: Added Template Tag “PSR_bests_of_month($month, $limit)”.

Version 0.1.2

  • Bugfix: Avoid Internet bots and spiders like GoogleBot to follow rating links.

Version 0.1.1

  • Bugfix: Headers already sent: Changed setcookie to Init method.
  • Bugfix: Image URL in CSS styles.
  • Bugfix: Image background no-repeat.
  • Bugfix: Error message in install.php script.
  • Bugfix: Internal documentation.

Version 0.1

  • New: Initial version