Viewing 1 replies (of 1 total)
  • Plugin Author minimus

    (@minimus)

    Into PHP (eg: functions.php):

    // Ads Place output
    if(function_exists('drawAdsPlace')) drawAdsPlace(array('id' => 1), true);
    // or
    if(function_exists('drawAdsPlace')) drawAdsPlace(array('id' => 1), array('before' => '<div class="ad">', 'after' => '</div>'));
    
    // Ads Zone output
    if(function_exists('drawAdsZone')) drawAdsZone(array('id' => 1), true);
    // or
    if(function_exists('drawAdsZone')) drawAdsZone(array('id' => 1), array('before' => '<div class="ad">', 'after' => '</div>'));
    
    // Single Ad output
    if(function_exists('drawAd')) drawAd(array('id' => 1), true);
    // or
    if(function_exists('drawAd')) drawAd(array('id' => 1), array('before' => '<div class="ad">', 'after' => '</div>'));
    
    // Ads Block output
    if(function_exists('drawAdsBlock')) drawAdsBlock(array('id' => 1));

    Into HTML:
    <?php if(function_exists('drawAdsPlace')) drawAdsPlace(array('id' => 1), array('before' => '<div class="ad">', 'after' => '</div>')); ?>

Viewing 1 replies (of 1 total)
  • The topic ‘How to insert into template&’ is closed to new replies.