Support » Plugin: WP-Polls » [Plugin: WP-Polls] Adding shortcode to Poll Template

  • Schalk Joubert


    Hi, manage to add an image to the poll template. Is tehr a way to add shortcode ot php to th template. I am trying to show an add from Adrotate.

    The code to inject the ad is either:
    [adrotate group=”8″] or <?php echo adrotate_group(8); ?>

    I tried changing the template header as per below, but with no luck:

    <p style="text-align: center;"><strong>%POLL_QUESTION%</strong></p>
    <div id="polls-%POLL_ID%-ans" class="wp-polls-ans">
    <p>%[adrotate group="8"]%</p>
    <p><?php echo adrotate_group(8); ?></p>
    <ul class="wp-polls-ul">

    many thanx

  • The topic ‘[Plugin: WP-Polls] Adding shortcode to Poll Template’ is closed to new replies.