WordPress.org

Support

Support » Plugins and Hacks » Want to block ads in some categories

Want to block ads in some categories

Viewing 5 replies - 1 through 5 (of 5 total)
  • This is not possible in the current version. Since this feature has been requested a few times, I will include it in a future version.

    Thanks for reply, when release the future version.

    I was thinking more about this feature. Since a post can belong to multiple categories, how would you actually do it?

    As it is now, you can suppress ads on a particular post by specifying the metatag adsense=no for that post.

    I can do something similar for categories, I suppose. But still, if your post belongs to two categories C1 and C2, and you have ads disabled for C1, but enabled for C2, how would you like the plugin to handle the situation?

    Exactly i mean that i want to block in C1 post and enable C2 post. and your given code in this format ( <!–noadsense–> ) i also can’t understand.

    The question is, if the SAME post belongs to both C1 and C2, what do you do?

    About metatag to suppress ads, edit the post on which you would like to suppress ads, create a “custom field” named adsense, give it the value no.

    See http://codex.wordpress.org/Custom_Fields
    Scroll down to the section titled Usage.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Want to block ads in some categories’ is closed to new replies.