Title: WP Voting
Author: Ko Min
Published: <strong>2011 年 7 月 7 日</strong>
Last modified: 2012 年 5 月 29 日

---

搜尋外掛

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

![](https://s.w.org/plugins/geopattern-icon/wp-voting.svg)

# WP Voting

 由 [Ko Min](https://profiles.wordpress.org/tristanmin/) 開發

[下載](https://downloads.wordpress.org/plugin/wp-voting.1.8.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/wp-voting/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/wp-voting/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/wp-voting/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/wp-voting/#developers)

 [技術支援](https://wordpress.org/support/plugin/wp-voting/)

## 外掛說明

A plugin to site owner to add voting functionality to the blog posts.
 Using the
power of the ajax, voter can have instant voting and update to top voted widget.
It doesn’t matter voter is logged in or not. Public voting is done by tracking their
IP address. It isn’t end here. Blog owner will have complete control over those 
voting feature as well as using custom vote button and vote text.

Features

 1.  Control voting feature via voting on/off (admin feature)
 2.  Control allow or disallow post author to vote his own posts (admin feature)
 3.  Control allow or disallow public voting (admin feature)
 4.  Customise vote and voted text (admin feature)
 5.  Customise vote and voted buttons images (admin feature)
 6.  Customise alert message for non logged in users (admin feature)
 7.  Voting logs for site administrator (admin feature)
 8.  Sort voting logs by vote count or voted date (admin feature)
 9.  Show current vote count and vote button on frontend templates
 10. Compitible with almost all of the themes. You just need to call required function
     from your template
 11. Total vote count widget
 12. Top voted widget
 13. Now public voting supported.
 14. Now shortcode supported. e.g. [wpvoting]
 15. Top voted posts list shortcode

Features in future releases

 1. Export to CSV for admin voting logs
 2. Registered user voting logs
 3. Re-implement backend voting log list with WP_List_Table class

Note-1: Kindly please rate this plugin or vote the compatibility. So I could review
it and improve the quality of this plugin. Appreciate your help!

Resources

http://www.garyc40.com/2010/03/5-tips-for-using-ajax-in-wordpress/

http://www.onextrapixel.com/2009/06/22/how-to-add-pagination-into-list-of-records-
or-wordpress-plugin/

http://www.onextrapixel.com/2009/07/01/how-to-design-and-style-your-wordpress-plugin-
admin-panel/

http://planetozh.com/blog/2009/09/top-10-most-common-coding-mistakes-in-wordpress-
plugins/

https://wordpress.org/extend/plugins/vote-it-up/

https://wordpress.org/extend/plugins/shortcodes-ultimate/

## 螢幕擷圖

[⌊Sample vote count and voting button (logged in user)⌉⌊Sample vote count and voting
button (logged in user)⌉[

Sample vote count and voting button (logged in user)

[⌊After vote or post author view⌉⌊After vote or post author view⌉[

After vote or post author view

[⌊Default alert message for un-logged in user⌉⌊Default alert message for un-logged
in user⌉[

Default alert message for un-logged in user

[⌊Sample admin voting logs⌉⌊Sample admin voting logs⌉[

Sample admin voting logs

[⌊Admin voting options panel⌉⌊Admin voting options panel⌉[

Admin voting options panel

## 安裝方式

 1. Upload `wpv-voting` folder to `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Go to Voting menu >> Voting Options and turn on the voting feature
 4. You may add the custom alert message for non logged in users
 5. You can use shortcode `[wpvoting]` directly in your posts content < OR >
 6. Add `if(function_exists('wpv_voting_display_vote')) wpv_voting_display_vote(get_the_ID());`
    between the wordpress loop of your theme templates such as category.php or single.
    php
 7. You may also use shortcodes or widgets

Shortcode usage

— vote button —

    ```
    [wpvoting]
    ```

— top voted list —

    ```
    [wpv-top-voted show="10" nopostmsg="Nothing to show yet!"]
    ```

Note: This plugin will create two tables in your wordpress database

## 常見問題集

Please check it out my blog http://www.wpclue.com/development/plugins/wordpress-
voting-plugin/

## 使用者評論

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

## 參與者及開發者

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

參與者

 *   [ Ko Min ](https://profiles.wordpress.org/tristanmin/)

[將〈WP Voting〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/wp-voting)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/wp-voting/)、查看
[SVN 存放庫](https://plugins.svn.wordpress.org/wp-voting/)，或透過 [RSS](https://plugins.trac.wordpress.org/log/wp-voting/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/wp-voting/)。

## 變更記錄

#### 1.0

 * The first release of the plugin.

#### 1.1

 * Fixed broken images

#### 1.2

 * Added allow or disallow post author to vote his own posts feature

#### 1.2.1

 * Fixed voting on/off options not getting selected state after initial plugin activate
 * Fixed allow post author to vote his own posts options not getting selected state
   after initial plugin activate
 * Fixed allow post author to vote his own posts options not getting deleted after
   deactivate the plugin

#### 1.3

 * Added custom vote text feature
 * Added custom voted text feature
 * Added custom vote button feature
 * Added custom voted button feature

#### 1.4

 * Added shortcode support
 * Tested compability with WordPress 3.2.1

#### 1.4.1

 * Fixed the broken admin css

#### 1.4.2

 * Added reset all voting

#### 1.5

 * Added total vote count widget
 * Re-design admin voting options page

#### 1.5.1

 * Added db version to options tbl for next release (public voting)

#### 1.6

 * Added public voting feature (unregistered / non-logged in users voting)

#### 1.7

 * Added top vote widget
 * Add safe-guard javascript pop-up confirmation box for “Reset All” button
 * Implemented proper un-installation (Now deactivate won’t delete db tables and
   settings)
 * Bug fix (two or more users voting from same computer can’t vote)

#### 1.8

 * Added top voted list shortcode
 * Added wpv_voting_get_display_vote function to overcome vote button is keep showing
   at the top of the post
 * Now wpv_voting_display_vote will just echo out the wpv_voting_get_display_vote
   return
 * Vote button implementation is moved to wpv_voting_get_display_vote
 * Fixed vote button is keep showing at the top of the post when user uses [wpvoting]
   shortcode
 * Fixed minor CSS rule
 * Fixed minor spacing issue in javascript

## 中繼資料

 *  版本 **1.8**
 *  最後更新 **14 年前**
 *  啟用安裝數 **40+**
 *  WordPress 版本需求 ** 3.0 或更新版本 **
 *  已測試相容的 WordPress 版本 **3.2.1**
 *  語言
 * [English (US)](https://wordpress.org/plugins/wp-voting/)
 * 標籤:
 * [voting](https://tw.wordpress.org/plugins/tags/voting/)
 *  [進階檢視](https://tw.wordpress.org/plugins/wp-voting/advanced/)

## 評分

 2.5 星，滿分為 5 星

 *  [  0 個 5 星使用者評論     ](https://wordpress.org/support/plugin/wp-voting/reviews/?filter=5)
 *  [  1 個 4 星使用者評論     ](https://wordpress.org/support/plugin/wp-voting/reviews/?filter=4)
 *  [  0 個 3 星使用者評論     ](https://wordpress.org/support/plugin/wp-voting/reviews/?filter=3)
 *  [  0 個 2 星使用者評論     ](https://wordpress.org/support/plugin/wp-voting/reviews/?filter=2)
 *  [  1 個 1 星使用者評論     ](https://wordpress.org/support/plugin/wp-voting/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/wp-voting/reviews/#new-post)

[查看全部使用者評論](https://wordpress.org/support/plugin/wp-voting/reviews/)

## 參與者

 *   [ Ko Min ](https://profiles.wordpress.org/tristanmin/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/wp-voting/)

## 贊助

想要支援這個外掛的發展嗎？

 [ 贊助這個外掛 ](http://www.wpclue.com/)