» Index
Plugin Information
Author:
» Lester 'GaMerZ' Chan
EMail:
»
Website:
» http://www.lesterchan.net/
Features:
» Adds an AJAX poll system to your WordPress blog. You can easily include a poll into your WordPress's blog post/page. WP-Polls is extremely customizable via templates and css styles and there are tons of options for you to choose to ensure that WP-Polls runs the way you wanted. It now supports multiple selection of answers.
Download:
» WP-Polls 2.20 For WordPress 2.1.x And Above
» WP-Polls 2.13 For WordPress 2.0.x
» WP-Polls 2.02a For WordPress 1.5.2
Demo:
» http://www.lesterchan.net/wordpress/
Development:
» http://dev.wp-plugins.org/browser/wp-polls/
Translations:
» http://dev.wp-plugins.org/browser/wp-polls/i18n/
Support Forums:
» http://forums.lesterchan.net/index.php?board=15.0
Credits:
» Localization By Ravan
» Uninstaller By Philippe Corbes
Updated:
» 1st June 2007
Note:
» The Changelog, Installation, Upgrade, Usage Tab at the top of the page.
» I have once again change some of the core code to make it work with the future/expired poll. Please post in the support forums if you encounter any bugs.
» WP-Polls has undergo major changes to support multiple answers and AJAX for the backend. Please post in the support forums if you encounter any bugs.
Donations:
» I spent most of my free time creating, updating, maintaining and supporting these plugins, if you really love my plugins and could spare me a couple of bucks as my school allowance, I will really appericiate it. If not feel free to use it without any obligations. Thank You. My Paypal account is
» Installation Instructions
-
Open wp-content/plugins Folder
-
Put:
Folder: polls
-
Activate WP-Polls Plugin
-
Refer To Usage For Further Instructions
» Upgrade Instructions
From v2.xx To v2.20
-
Deactivate WP-Polls Plugin
-
Open wp-content/plugins Folder
-
Put/Overwrite:
Folder: polls
-
Delete these file if exists:
File: wp-polls.php
File: wp-content/plugins/polls/wp-polls.php
File: wp-content/plugins/polls/polls-js.js
File: wp-content/plugins/polls/images/pollbar.gif
File: wp-content/plugins/polls/images/pollend.gif
File: wp-content/plugins/polls/images/pollstart.gif
File: wp-content/plugins/polls/images/pollbar.gif
-
Activate WP-Polls Plugin
-
Go to 'WP-Admin -> Polls -> Polls Options' and restore all the template variables to Default
-
Refer To Usage For Further Instructions
» Usage Instructions
General Usage (Without Widget)
-
Open wp-content/themes/<YOUR THEME NAME>/sidebar.php
-
Add:
<?php if (function_exists('vote_poll') && !in_pollarchive()): ?>
<li>
<h2>Polls</h2>
<ul>
<li><?php get_poll();?></li>
</ul>
<?php display_polls_archive_link(); ?>
</li>
<?php endif; ?>
To show specific poll, use <?php get_poll(2);?> where 2 is your poll id.
To embed a specific poll in your post, use [poll=2] where 2 is your poll id.
-
Scroll down for instructions on how to create a Polls Archive.
General Usage (With Widget)
-
Activate WP-Polls Widget Plugin
-
Go to 'WP-Admin -> Presentation -> Widgets'
-
Drag the Polls Widget to your sidebar
-
You can configure the Polls Widget by clicking on the configure icon
-
Click 'Save changes'
-
Scroll down for instructions on how to create a Polls Archive.
Polls Archive
-
Go to 'WP-Admin -> Write -> Write Page'
-
Type any title you like in the post's title area
-
Type '[page_polls]' in the post's content area (without the quotes)
-
Type 'pollsarchive' in the post's slug area (without the quotes)
-
Click 'Publish'
-
If you ARE NOT using nice permalinks, you need to go to 'WP-Admin -> Polls -> Poll Option' and under 'Poll Archive -> Polls Archive URL', you need to fill in the URL to the Polls Archive Page you created above.
Note
-
In IE, some of the poll's text may appear jagged (this is normal in IE). To solve this issue,
-
Open poll-css.css
-
Find:
/* background-color: #ffffff; */
-
Replace:
background-color: #ffffff;
Where #ffffff should be your background color for the poll.
Polls Stats (Outside WP Loop)
-
To Display Total Polls
-
Use:
<?php if (function_exists('get_pollquestions')): ?>
<?php get_pollquestions(); ?>
<?php endif; ?>
-
To Display Total Poll Answers
-
Use:
<?php if (function_exists('get_pollanswers')): ?>
<?php get_pollanswers(); ?>
<?php endif; ?>
-
To Display Total Poll Votes
-
Use:
<?php if (function_exists('get_pollvotes')): ?>
<?php get_pollvotes(); ?>
<?php endif; ?>
-
To Display Total Poll Voters
-
Use:
<?php if (function_exists('get_pollvoters')): ?>
<?php get_pollvoters(); ?>
<?php endif; ?>