WordPress.org

Support

Support » Plugins and Hacks » [Plugin: Simple Ads Manager] Manual placement?

[Plugin: Simple Ads Manager] Manual placement?

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author minimus

    @minimus

    Use functions drawAdsPlace, drawAdsZone, drawAd, drawAdsBlock. Read more: http://www.simplelib.com/?p=480

    Great Plugin. Works fantastically in widgets but I would like to add places in other locations. Where am I supposed to add the functions?

    thefullpint.com

    Plugin Author minimus

    @minimus

    Anywhere you want…

    Minimus could you be a little more exact as to where i should place the code. Do i just insert it at the bottom of the functions.php page and then use the shortcode where i need the ads to show up?

    Plugin Author minimus

    @minimus

    Each instance of the function displays an ad, Ads Place, etc. according to what function you use (drawAd, drawAdsPlace, etc.) … You can put the function anywhere in your template code, exactly where you want to display ads. Read more here (Output functions paragraph)…

    I’m hoping I can get some assistance. I’m not a programmer but I can sometimes fumble around with code that’s already in place to get what I need to work. However I can’t seem to figure out how to manually add code on my page for the Simple Ad Manager plugin.

    —————————————-
    The snippet of my current code:
    —————————————-

    <?php if( is_front_page() || is_home() || is_404() ) { ?>
    <!--- Insert Ads here --->
    <img src="wp-content\graphics\ads\leaderboard-01.jpg" style="border-color: #988e82;border-style: solid;border-width: 1px;margin: 0px 0px 0px 6px;"><!--- Ads end here --->
    	    <?php }

    —————————————-
    Want to replace the img src tag with code below but not sure how
    —————————————-
    if(function_exists(‘drawAdsPlace’)) drawAdsPlace(array(‘id’ => 1), true);

    Any help would be greatly appreciated…Thanks!

    Plugin Author minimus

    @minimus

    <?php if( is_front_page() || is_home() || is_404() ) { ?>
    <!--- Insert Ads here --->
    <?php if(function_exists('drawAdsPlace')) drawAdsPlace(array('id' => 1), true); ?>
    <!--- Ads end here --->
    	    <?php }

    Minimus…you’re awesome! Thank you.

    Hello
    i have some doubt regarding this code snippet. Could you please explain what this actually doing.. result is the display of ad . i cannot understand how it works.. please help..

    <div class=”ad_05″>
    <?php //if(function_exists(‘drawAdsPlace’)) drawAdsPlace(array(‘id’ => 5), true); ?>
    <script>eplAD4(“Avenida_Media_1_Noticias”,{t:1,timeout:0,ma:1,custF:null,wh:”600×80″,sd:”d8da!Noticas!http://ads.us.e-planning.net/!!”});</script>
    <!– e-planning v4 – Fin espacio Beta Eje Central _ Noticas _ Avenida_Media_1_Noticias –>
    </div>

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘[Plugin: Simple Ads Manager] Manual placement?’ is closed to new replies.