WordPress.org

Ready to get started?Download WordPress

Forums

WP-Polls
Adding shortcode to Poll Template (1 post)

  1. Schalk Joubert
    Member
    Posted 1 year ago #

    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
    schalk

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

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic