More than two instances of wp-polls
-
Hi!
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" /> </a> <!-- 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'); ?> </div> </div> <!-- 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???
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘More than two instances of wp-polls’ is closed to new replies.