Support » Fixing WordPress » Intentionally want to treat images as ads

  • Resolved ICanHazCode

    (@icanhazcode)


    Hello good folks,

    I have an image in my header next to an ad that I would like to disappear if someone is using an adblocker. If the ad is blocked and the image stays it looks ugly and out of place. The code I’ve inserted for the image and link looks like this:

    <img src=”image.gif” />

    What can I add to this so that if someone is using the EasyList or another ad blocking list this image will not appear?

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Intentionally want to treat images as ads’ is closed to new replies.