Plugin Directory

Vote It Up

Requirements

  1. A working Wordpress install

  2. WordPress theme must contain a call to the get_header() function

  3. WordPress theme must contain the Wordpress loop

Most Wordpress installs have these, so you need not worry about these.

In addition, one must have JavaScript enabled in their browsers in order to vote.

Customizing

Votingfunctions.php

Within votingfunctions.php, there are several functions that can shows other information.

GetVotes($post_ID): Returns the number of votes associated with the post.

UserVoted($post_ID, $user_ID): Returns TRUE if the user already voted for the post, FALSE if the user hasn't voted for the post

GetPostVotes($post_ID): Returns an array of user IDs that have voted for the post.

GetPostSinks($post_ID): Returns an array of user IDs that have voted against the post.

SortVotes(): Returns an array of post IDs and votes. The array is sorted with the post having the most votes at the top of the array.

Download

FYI

Compatibility beta

Your Setup

Log in to vote.

The Consensus (1 reporting)

No data
100,2,2
0,1,0 0,1,0 0,1,0

Average Rating

5 stars
4 stars
3 stars
2 stars
1 star
(32 ratings)