WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Intentionally want to treat images as ads (4 posts)

  1. ICanHazCode
    Member
    Posted 2 years ago #

    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?

  2. ICanHazCode
    Member
    Posted 2 years ago #

    Oh, guess I need to display it in code:

    <a href="sitelinkedto.com" target="_blank"><img src="image.gif" /></a>

  3. ICanHazCode
    Member
    Posted 2 years ago #

    Bump. Anyone?

  4. ICanHazCode
    Member
    Posted 1 year ago #

    Using doubleclick.net achieved this.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.