Title: [Plugin: Simple Ads Manager] Manual placement?
Last modified: August 20, 2016

---

# [Plugin: Simple Ads Manager] Manual placement?

 *  [gixty7](https://wordpress.org/support/users/gixty7/)
 * (@gixty7)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/plugin-simple-ads-manager-manual-placement/)
 * Hello,
 * I would like to know how I can place de ads inside the template through php coding.
 * Thank you.
 * [http://wordpress.org/extend/plugins/simple-ads-manager/](http://wordpress.org/extend/plugins/simple-ads-manager/)

Viewing 9 replies - 1 through 9 (of 9 total)

 *  Plugin Author [minimus](https://wordpress.org/support/users/minimus/)
 * (@minimus)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/plugin-simple-ads-manager-manual-placement/#post-2465280)
 * Use functions drawAdsPlace, drawAdsZone, drawAd, drawAdsBlock. Read more: [http://www.simplelib.com/?p=480](http://www.simplelib.com/?p=480)
 *  [jonnyfullpint](https://wordpress.org/support/users/jonnyfullpint/)
 * (@jonnyfullpint)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/plugin-simple-ads-manager-manual-placement/#post-2465318)
 * 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](https://wordpress.org/support/users/minimus/)
 * (@minimus)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/plugin-simple-ads-manager-manual-placement/#post-2465319)
 * Anywhere you want…
 *  [jonnyfullpint](https://wordpress.org/support/users/jonnyfullpint/)
 * (@jonnyfullpint)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/plugin-simple-ads-manager-manual-placement/#post-2465320)
 * 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](https://wordpress.org/support/users/minimus/)
 * (@minimus)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/plugin-simple-ads-manager-manual-placement/#post-2465321)
 * 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](http://www.simplelib.com/?p=480)(**
   Output functions** paragraph)…
 *  [wpfspin](https://wordpress.org/support/users/wpfspin/)
 * (@wpfspin)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-simple-ads-manager-manual-placement/#post-2465358)
 * 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](https://wordpress.org/support/users/minimus/)
 * (@minimus)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-simple-ads-manager-manual-placement/#post-2465359)
 *     ```
       <?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 }
       ```
   
 *  [wpfspin](https://wordpress.org/support/users/wpfspin/)
 * (@wpfspin)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-simple-ads-manager-manual-placement/#post-2465360)
 * Minimus…you’re awesome! Thank you.
 *  [Geethu Vijayan](https://wordpress.org/support/users/geethuv/)
 * (@geethuv)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-simple-ads-manager-manual-placement/#post-2465366)
 * 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/](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.

 * ![](https://s.w.org/plugins/geopattern-icon/simple-ads-manager_73687f.svg)
 * [Simple Ads Manager](https://wordpress.org/plugins/simple-ads-manager/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/simple-ads-manager/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/simple-ads-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/simple-ads-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/simple-ads-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/simple-ads-manager/reviews/)

 * 9 replies
 * 5 participants
 * Last reply from: [Geethu Vijayan](https://wordpress.org/support/users/geethuv/)
 * Last activity: [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-simple-ads-manager-manual-placement/#post-2465366)
 * Status: not resolved