Comment on Almost Spring AdSense WordPress Theme by SEO Dave.

WordPress Almost Spring Theme Good Question Justin :-)

Not used alternate ads to AdSense be honest (I really should as well), but shouldn’t be a problem adding them.

What you’ll have to do is find all the ad units you want alternate ads to be shown for and add some code, assuming you want it for every AdSense ad shown this will be real easy.

I use a text editor called Crimson Editor (it’s free, search for it on Google) which has a search files for text strings function (many text editors have this ability). What I would do is search the folder that holds one of my themes for this text-

google_ad_width (or any text found in an ad unit)

This will find every theme page that has an AdSense ad placed within it and the readme.txt file.

Open the files one at a time and paste this-

google_alternate_ad_url = "http://www.domain.com/";

Into the code so it looks something like this-

google_ad_client = "pub-###############";
google_alternate_ad_url = "http://www.domain.com/";
google_ad_width = 728;

Obviously you want to use your alt ad URL, not the URL above.

In the version 02 AdSense themes that are free from this site there’s quite a lot of copies of the Google AdSense ad units code (can be over a dozen) so you’ll need to do this with several template pages.

Good news is you could theoretically choose a different alternative ad URL for each ad, with the code used in version 03 (AdSense themes from for a fee) this isn’t possible.

I like the idea of alt ads, so will see into adding this as an option for the version 03 themes, shouldn’t be too difficult.

Thanks for the feedback.

David