Plugin Directory

Test out the new Plugin Directory and let us know what you think.
!This plugin hasn’t been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.


Makes an intern game with subscrimers of your blog/site. Make pools and give to theyrs a value: users can vote in it. When you decide, close the pool.

Can I put my last pool on my theme?

Yes, just put this lines on yout template:

<?php if (function_exists('bolao_widget')) bolao_widget(); ?>

Can I customize my Bolão widget?

Of course. You can pass an array of options to your widget function. By default, we have this options:

array (
  'title'            => 'Bolao',
  'title_start'      => '<h2 class="bolao_title">',
  'title_end'        => '</h2>',
  'question_start'   => '<li class="bolao_question"><h3>',
  'question_end'     => '</h3></li>',
  'options_start'    => '<ul>',
  'opt_start'        => '<li class="bolao_option {EVEN-ODD}">',
  'opt_end'          => '</li>',
  'options_end'      => '</ul>',
  'submit_start'     => '<li class="bolao_submit">',
  'submit_end'       => '</li>',
  'print'            => true,

So you can pass an array with any of these options, like this.

bolao_widget(array (
  'title'            => 'Make your Choice',
  'question_start'   => '<h3>',
  'question_end'     => '</h3>',
  'options_start'    => '<div>',
  'opt_start'        => '<li>',
  'opt_end'          => '</li>',
  'options_end'      => '</div>',

And this generates this widget:

<h2 class="bolao_title">Make your Choice</h2>

<form action="" method="get" class="bolao_form">
  <input type="hidden" name="handle" value="handle" />
  <input type="hidden" name="details " value="details " />

      <h3>Whats the color of the white horse of Napolian?</h3>
        <label for="bolao_option_4873447a33954">
          <input type="radio" name="item" value="3" id="bolao_option_4873447a33954"  />

        <label for="bolao_option_4873447a33964">
          <input type="radio" name="item" value="4" id="bolao_option_4873447a33964"  />
        <label for="bolao_option_4873447a3396c">
          <input type="radio" name="item" value="5" id="bolao_option_4873447a3396c"  />

        <label for="bolao_option_4873447a33974">
          <input type="radio" name="item" value="6" id="bolao_option_4873447a33974"  />
      <li class="bolao_submit"><button type="submit" name="vote" value="Vote">Vote</button></li>


Requires: 2.5 or higher
Compatible up to: 2.5
Last Updated: 9 years ago
Active Installs: Less than 10


0 out of 5 stars


Got something to say? Need help?


Not enough data

0 people say it works.
0 people say it's broken.