I'm using WP for my latest site and I'm getting AdSense showing on my privacy page. Should I disable this?
I'm using WP for my latest site and I'm getting AdSense showing on my privacy page. Should I disable this?
Google keeps rewriting the ToS and Program Policies.
The closest line I see in the current documents is:
No Google ad may be placed on any non-content-based pages.I am not a Wordpress ninja. How would you prevent global ads from appearing on a specific page? Are your AdSense ads part of your template, are you using an AdSense plugin, or are you embedding AdSense in widgets?
Submit Your Webmaster Related Sites to the NB Directory
I swear, by my life and my love of it, that I will never live for the sake of another man, nor ask another man to live for mine.
One of the ad blocks is placed using a widget, the rest are hard coded, so I could easily move the widgetized block into the page code and then remove them all for pages by editing page.php, except that I'd then have no AdSense on any WP pages, only on posts. For this blog that isn't a problem but on other sites I help look after it would be a big problem.
If you're familiar with the way Shenron places his AdSense I'm trying to emulate his sites simply because I don't want to reinvent the wheel and he seems to be having success with that layout, on the other hand another site that I'm still helping to maintain uses a plugin to place AdSense in a completely different way.
I wonder if I should create a static HTML page within the WP install and outside of the template files and then just add a line in .htaccess preventing auto redirect to index.php for the privacy policy?
The hard coded coded ones you could add a "if" "else" so if the page title= or url= display this
else display adsense.
Or the use of static pages without the ad code and use different text widgets on the static pages.
Reverse IP Check ಠ_ಠ Proxy Sites
<?php if ($youask == 'stupid question') { echo ('stupid answer'); } ?>
I don't think Google with bug you for this, in any case I try to remove adsense from my privacy pages (except WP 'cause it's a pain in the arse).
I'm going to move my Adsense out of the widgets and hard code them, and thanks to your suggestion I've found what I need on the WP forum, this works;
I've modeled my theme on a three column theme just like yours except slightly prettierCode:<?php if(is_page('privacy')) {echo "Privacy Page";} else {echo "AdSense Ad";} ?>and once I've added the code above I'll send you the zipfile so you can butcher it back to your ugly themes
. My theme is based on BlueSense but I've made it a little bit leaner and changed a couple of things to make SEO a bit easier.
Shenron (22 March, 2009)
How dare you say my themes are ugly?
Thx a lot for your offer, I'm sure it'll be pretty useful and spare me a few research hours.![]()
I've argued about this with myself several times, I've placed Adsense on a privacy page then decided that no-one ever reads privacy pages and removed the ads., then placed them back on the page again.
the last time it happened, I decided to make the privacy page more interesting, so I published a short article on it about the need for a privacy page, and placed Adsense ads. next to the article.
Bookmarks