How to add two polls on same page
-
I am using WP-Poll plugin. I want to publish two or more than two polls on a single page. Here is the code but how to do that?
<?php if (function_exists(‘vote_poll’) && !in_pollarchive()): ?>
- <h2>Polls</h2>
- <?php get_poll();?>
<?php display_polls_archive_link(); ?>
<?php endif; ?>
Note: To show specific poll, use <?php get_poll(2); ?> where 2 is your poll id. To show random poll, use <?php get_poll(-2); ?>
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘How to add two polls on same page’ is closed to new replies.