Please feel free to subscribe using either RSS or Email to stay upto date with the latest news.

RSS for 42k Wordpress Theme
RSS for Factory42
RSS for Factory42
 

All Delivered by FeedBurner

Adverts in AmberGreen Pro

In our AmberGreen Pro theme, space has been added into the template for Google Adverts or whatever kind of adverts you want really. At the moment those spaces are filled with dummy Google Ads, just to show you where they go.

To add Google Adsense to your theme you need to do the following.

Open index.php from your theme folder with a text editor or similar and find the following;

Near the top of the page there are two instances of the following

<div class=”advert-break” ><img src=”http://www.factory42.co.uk/ads/728×90.jpg” ></div>

Simply replace

<img src=”http://www.factory42.co.uk/ads/728×90.jpg” >

With your own advert code. Note this ad spot is set to 728×90 in size, so any deviation from this may look a bit odd!

Further down the page you will find the lines;

<div class=”advert”><img src=”http://www.factory42.co.uk/ads/468×60.jpg” ></div>

Again just replace;

<img src=”http://www.factory42.co.uk/ads/468×60.jpg” >

With your advert code.

That sorts out the front page, now we need to change the adverts that appear on the top right of the single and post pages. We need to edit single.php and page.php Its the same for both, so just do one and then repeat.

Open in text editor and find the line;

<div id=”dsingle”><img src=”http://www.factory42.co.uk/ads/300×250.jpg” >

Again, simply replace <img src=”http://www.factory42.co.uk/ads/300×250.jpg” > with your advert code. These adverts blocks are set at 300×250 in size, which is a standard Google ad size, if you make them some other size, well the theme may look a bit off!

Repeat for both files and your done!

GOOGLE ADSENE TEXT ADVERTS

If you do use Google text ads, its wise to blend them in a little rather than using Googles default pallet. We can recomend the following as a really good color scheme to make your adverts look a bit better!

picture-31

You must be logged in to post a comment.