WordPress.org

Ready to get started?Download WordPress

Forums

Quick Adsense
WARNING! --OffWidget-- is not working in header widgets (2 posts)

  1. MTO
    Member
    Posted 8 months ago #

    I urgently need to disable adsense ads on some pages.
    I actually thought I had them disabled, but just realized they are not, and I could be penalized for showing ads on those pages.

    <!--NoAds--> <!--OffWidget--> is not working for widgets in the header.

    I tried it in several themes to make sure.
    It always shows the widget ad in header, even if <!--NoAds--> <!--OffWidget--> is in place.

    This is terrible news.

    http://wordpress.org/plugins/quick-adsense/

  2. MTO
    Member
    Posted 8 months ago #

    <!--NoAds--> <!--OffWidget--> does not prevent widget from being displayed if the widget is called from the header (tested in multiple themes with a header widget area activated).

    My guess is that since it's the header, it might still not know what the contents of the post are, and because of this not taking into account if it should or should not be displayed?

Reply

You must log in to post.

About this Plugin

About this Topic