• Hi,

    I am using Yop Poll Plugin. I want to display Yop Poll in my .aspx file. I am thinking to create .php file in the wordpress root folder and using below code to display current active poll and using iframe i will get the url and display in .aspx file. i am not sure i am right or wrong.

    <?php if (function_exists(‘vote_poll’) && !in_pollarchive()): ?>
    <div class=”module module-poll”>
    <!– <?php get_poll();?> old wp-poll code –>
    <?php echo do_shortcode(‘[yop_poll id=”-1″]’); ?>
    </div>
    <!– /.module –>
    <?php endif; ?>

    https://ww.wp.xz.cn/plugins/yop-poll/

The topic ‘Poll for PHP Page’ is closed to new replies.