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

    (@minimus)

    Please, provide more details why you need it?

    Thread Starter Noel Forte

    (@fortissimo95)

    I’m trying to figure out how to conditionally show and hide ad places in PHP. For example, if an ads place has no ads then I don’t want it to display.

    Also, is there any way to get the image URL of an ad, for page background ads?

    Plugin Author minimus

    (@minimus)

    1. If default ad is not set and Ads Place has no ads you will see nothing.
    2. The method “buildSingleAd” of SAM object returns string value. Just analize it:

    global $samObject;
    
    $samObject->buildSingleAd(array('id' => 1));

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘If ad place has ad…’ is closed to new replies.