Plugin Directory

WP-Polls

Adds an AJAX poll system to your WordPress blog. You can also easily add a poll into your WordPress's blog post/page.

Download Version 2.62

How To Add A Polls Archive?

  1. Go to WP-Admin -> Pages -> Add New.
  2. Type any title you like in the post's title area.
  3. If you ARE using nice permalinks, after typing the title, WordPress will generate the permalink to the page. You will see an 'Edit' link just beside the permalink.
  4. Click 'Edit' and type in 'pollsarchive' in the text field (without the quotes) and click 'Save'.
  5. Type [page_polls] in the post's content area (without the quotes).
  6. Click 'Publish'.
  • If you ARE NOT using nice permalinks, you need to go to WP-Admin -> Polls -> Poll Options and under Poll Archive -> Polls Archive URL, you need to fill in the URL to the Polls Archive Page you created above.

How Does WP-Polls Load CSS?

  • WP-Polls will load 'polls-css.css' from your theme's directory if it exists.
  • If it doesn't exists, it will just load the default 'polls-css.css' that comes with WP-Polls.
  • This will allow you to upgrade WP-Polls without worrying about overwriting your polls styles that you have created.

Why In Internet Explorer (IE) The poll's Text Appear Jagged?

  • 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; ?>

Requires: 2.8 or higher
Compatible up to: 3.3.1
Last Updated: 2012-2-6 Downloads: 941,964

Average Rating

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

Compatibility

+
=
Not enough data

8 people say it works.
6 people say it's broken.

Log in to vote.

100,2,2
100,1,1 67,6,4
81,16,13
73,11,8
57,21,12 100,1,1
100,1,1 58,48,28 100,1,1 100,1,1
63,24,15 100,1,1
59,32,19 83,12,10
100,3,3
100,4,4
60,5,3 100,1,1
0,1,0 100,12,12
100,1,1 43,7,3 90,31,28
78,9,7
67,15,10 0,1,0
60,10,6
0,1,0 67,3,2
50,6,3 100,1,1
64,22,14 92,37,34
50,4,2
57,14,8