• Resolved alextstone

    (@alextstone)


    Hi,

    I installed your plugin last night. I set up a header banner that displays three ads side by side here. My intent is for each ad position to be associated with a different ad group (different sponsors) and for each group to randomly display an ad from that group only. The result I get is that ads are displayed randomly, but may come from all ad groups, not from the group selected for each ad position.

    The code I used:

    <div id="banner-ad-container">
    <div id="banner-ads-box">
    <div class="ads-first"><?php echo dfads( 'groups=-1&orderby=random&container_html=none' );?></div>
    <div class="ads"><?php echo dfads( 'groups=26&orderby=random&container_html=none' );?></div>
    <div class="ads"><?php echo dfads( 'groups=27&orderby=random&container_html=none' ); ?></div>
    </div>
    </div>

    Thanks in advance for helping me with this.

    https://www.ads-software.com/plugins/ads-by-datafeedrcom/

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

    (@datafeedrcom)

    Your first ad div has this:

    groups=-1

    That means display ads from any group. You should specify a group.

    Thread Starter alextstone

    (@alextstone)

    Thanks for your quick response! Change made and that fixed the problem, thanks!

    Plugin Author datafeedr

    (@datafeedrcom)

    You’re welcome!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Multiple Ads on Same Page Behaving Badly’ is closed to new replies.