WordPress.org

Ready to get started?Download WordPress

Forums

Ad Injection
Ad Filtering (2 posts)

  1. xaotikdesigns
    Member
    Posted 2 years ago #

    Most of my site is SFW, but there are a few pages that are NSFW.

    I see where I can set it up to have my top banner ad be filtered to not show on the NSFW pages. This is good since most ad networks frown on those sorts of shenanigans, however, I was thinking of monetizing these pages as well if I could find a suitable NSFW friendly advertiser that won't try to cover my page with porn.

    What I don't see the ability to, is filter ads so that ad network A will show on all categories except "NSFW" while ads from category B will only show on category "NSFW".

    I could do this by running one as a top ad and the other as bottom or such, but I would rather have the ads in the same place, just pulling the different network based on the filter. Is this possible?

    http://wordpress.org/extend/plugins/ad-injection/

  2. reviewmylife
    Member
    Plugin Author

    Posted 2 years ago #

    Hi xaotikdesigns, As you've spotted you could do this using a top ad for one and a bottom ad for the other. That isn't ideal though.

    You can fully support this using widget ads but it sounds like you want to do it for in-content ads.

    Your only other option would be to use PHP in the ad boxes to differentiate between the categories (there are some examples in the FAQ). This will only work in direct insertion mode - not mfunc mode.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags