WordPress.org

Ready to get started?Download WordPress

Forums

PHP Code into RSS Footer (3 posts)

  1. Guilherme Euler
    Member
    Posted 5 years ago #

    Dear friend, can I put php code into RSS Footer to display banners from "Ad-Minister"?
    I whant to put this code:
    <?php
    $args = array('position' => 'Banners', 'Livros' => 'This is the banner on top of every page', 'before' => '<div class="ad">', 'after' => '</div>');
    do_action('ad-minister', $args);
    ?>

    Thank you.

  2. Joep Piscaer
    Member
    Posted 5 years ago #

    Same here, I want to add a Google AdSense ad, but can't get the code to display the ad:

    <div style="border: 1px solid #f89419; background-color:#e7e5de;margin: 0pt 0pt 5px 5px; padding: 5px;">
    Posted by <a href="http://www.virtuallifestyle.nl/about-the-blogger/">Joep Piscaer</a> on <a href="http://www.virtuallifestyle.nl">Virtual Lifestyle</a>.
    You can find the original post here: %%POSTLINK%%.
    Add Virtual Lifestyle to your <a href="http://www.virtuallifestyle.nl/feed/">RSS</a> Reader.
    Follow Joep Piscaer on <a href="http://twitter.com/jpiscaer">Twitter</a>.
    Check out his profile on <a href="http://www.linkedin.com/in/jpiscaer">LinkedIn</a>.
    </div>
    
    <div style="border: 1px solid #f89419; background-color:#e7e5de;margin: 0pt 0pt 5px 5px; padding: 5px;">
    <script type="text/javascript"><!--
    google_ad_client = "pub-4567688375904122";
    /* RSS-Footer Ad */
    google_ad_slot = "4863224057";
    google_ad_width = 468;
    google_ad_height = 60;
    //-->
    </script>
    <script type="text/javascript"
    src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
    </script>
    </div>
  3. Joost de Valk
    Member
    Posted 5 years ago #

    The plugin doesn't currently allow for this.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags