WordPress.org

Ready to get started?Download WordPress

Forums

WP-Polls
Make all the polls active (1 post)

  1. grundizer
    Member
    Posted 1 year ago #

    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; ?>

    http://wordpress.org/extend/plugins/wp-polls/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic