More than two instances of wp-polls (3 posts)

  1. sunilmotihar
    Posted 3 years ago #

    I run a blog and I have your polls widget in my sidebar. Also I have fancybox on my blog. Someone recommended me to put the polls into a fancybox on my blog. So I did this:

    Line 200 of footer.php

    <!-- Poll it up tab -->
    <a href="#fancyboxID-4">
    <img class="floating_tab_poll" src="http://www.unhooked.in/wp-
    content/themes/default/images/pollbtn.jpg" />
    <!-- Poll it up tab ends -->

    Line 896 of styles.css

    .floating_tab_poll{position: fixed; left: 0; top: 50%; margin-top: -230px; }

    Line 219 of header.php

    <!--Subscription form for floating tab end -->
    <!-- Poll it up -->
    <div class="fancybox-hidden" style="display: none;">
    <div id="fancyboxID-4">
    <?php echo the_widget('WP_Widget_Polls'); ?>
    <!-- Poll it up ends -->

    Now I have two instances of the same poll on the same page. When I try to vote it says please choose a valid answer. What can I do to make it work on the sidebar widget as well as the fancybox???


  2. Lester Chan
    Plugin Author

    Posted 3 years ago #

    Is a technical limitation, you can't have 2 of the same poll on the same page.

  3. QAsker
    Posted 3 years ago #

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic