WordPress.org

Forums

Easy Plugin for AdSense
Want to block ads in some categories (6 posts)

  1. usmanmohammadi
    Member
    Posted 2 years ago #

    Hi,

    I've use easy adsense in my site and its work very well. but I want to remove the ads in video category so it is possible that I exclude it?

    http://wordpress.org/extend/plugins/easy-adsense-lite/

  2. manojtd
    Member
    Plugin Contributor

    Posted 2 years ago #

    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.

  3. usmanmohammadi
    Member
    Posted 2 years ago #

    Thanks for reply, when release the future version.

  4. manojtd
    Member
    Plugin Contributor

    Posted 2 years ago #

    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?

  5. usmanmohammadi
    Member
    Posted 2 years ago #

    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.

  6. manojtd
    Member
    Plugin Contributor

    Posted 2 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Easy Plugin for AdSense
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.