Disable on Desktop for non-adsense seems does not work

Posted in: Newspaper
Post count: 1

Hi there,

I have an ads which is not from adsense (particularly an affiliate banner). And this is the code I used:

div
a href=http://www.this-is-affiliate-website.com
img src=http://this-is-affiliate-banner.png
/a
/div

However when I try to disable this ads (by clicking the disable) on desktop, and then hit the save settings, it seems that there is no change?

Because what I want to do is: to switch from ads to another ads with different platform by using the function Disable on Desktop in the custom ads.

Thank you very much,
Regards.

Amir

— edited

I could not put the symbol < and > into the code

— end of edited

  • This topic was modified 11 years by amir.
  • This topic was modified 11 years by amir.
  • This topic was modified 11 years by amir.
Post count: 1291

Hi,

The controls provided in the Theme Panel -> Ads section work only for adsense. For other ad systems you have to use a plugin which can handle those ad types or make modifications on the theme code.

The ad you provided is actually a banner (image+link), this is also supported by the theme but you have to use the structure provided in the documentation – https://forum.tagdiv.com/header-ad/http://screencast.com/t/ytrqUizn0KZ – You have to add multiple banners, one for each device. If you want to disable the ad on one device simply remove the line used for it – http://screencast.com/t/EsgtCFLj

Thank you, Emil G.

Viewing 2 posts - 1 through 2 (of 2 total)
The forum ‘Newspaper’ is closed to new topics and replies.