Make all the polls active
I’m passing the poll ID through a custom field to the get_poll() function, I have 5 polls running on my site but only the latest one is active, Im displaying polls on blog posts so each post has a different poll.
how can I make all of them active?
<?php $getPollID = get_post_meta($post->ID, ‘customPoll’, true); ?>
<?php get_poll($getPollID); ?>
<?php if (function_exists(‘get_pollquestions’)): ?>
<?php get_pollquestions(); ?>
<?php endif; ?>
- The topic ‘Make all the polls active’ is closed to new replies.