Voting Record

Voting Record will allow recording of votes cast for display and reference purposes. Elected officials can record and display their votes and citizens can track and display the votes of an elected official they follow.

Latest Version: 2.0 (March 16, 2009)

Display templates are introduced here giving you total flexibility in deciding what to display. There is one set of template settings for recent votes and another for search results. Each template is made up of a header, a footer, and an item template. Template tags are used to display the variables specific to each recorded vote such as the vote cast or the vote description. There is also a setting for what to display when no votes are returned in the recent votes and another setting for when no votes are returned in a search.

Votes are entered on a dashboard widget:

Vote Record Dashboard Widget

A vote management page is available from the posts menu:

Manage Recorded Votes

Recent votes are shown by adding <?php recent_votes(); ?> in your theme templates. You can show a search votes form by using the shortcode [ SEARCH-VOTES ] on a page or post. Options for Voting Record include:

  • The option to specify a primary voter (if most or all of the votes being tracked are from one person).
  • The option to specify header text/code for the recent vote list.
  • How many recent votes to show – limited by number of votes or number of days.
  • What to show before a list of recent votes and what to show before a list of search results.
  • What to display at the end of a list of recent votes and what to display at the end of a list of search results.
  • The format for displaying your recent votes or search results lists, including which pieces of information to show.
  • What to display when no recent votes are returned or when a search comes up empty.

To install it simply unzip the file linked above and save it in your plugins directory under wp-content. In the plugin manager activate the plugin. Settings for the plugin may be altered under the Voting Record page of the Options menu (version 2.3) or Settings menu (version 2.5 or later).

Leave a Reply

Your email address will not be published. Required fields are marked *