WordPress.org

Plugin Directory

wiki:wp-polls/install

WP-Polls Installation Instructions

Open wp-content/plugins folder

Put:

  1. Folder: polls


Open root Wordpress folder

Put:

  1. wp-polls.php


Activate WP-Polls plugin



Open wp-content/themes/<YOUR THEME NAME>/sidebar.php

Add Anywhere:

<?php if (function_exists('vote_poll')): ?>
<li>
        <h2>Polls</h2>
        <ul>
                <?php get_poll();?>
                <li><a href="<?php echo get_settings('home'); ?>/wp-content/plugins/polls/wp-polls.php">Polls Archive</a></li>
        </ul>
</li>
<?php endif; ?>

Note:

  • To show specific poll, use <?php get_poll(<ID>);?> where <ID> is your poll id.
  • To embed a specific poll in your post, use [poll=<ID>] where <ID> is your poll id.



Back To WP-Polls Documentation

Last modified 12 years ago Last modified on 06/18/06 12:07:53