Adding shortcode to Poll Template (1 post)

  1. Schalk Joubert
    Posted 3 years 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


Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

  • RSS feed for this topic
  • Started 3 years ago by Schalk Joubert
  • This topic is not resolved
  • WordPress version: 3.4.2