You must be logged in to post
Search Forums:


 






Wildcard Usage:
*    matches any number of characters
%    matches exactly one character

Changing top adsense banner to another advert

UserPost

9:12 am
November 23, 2009


webnut

Member

posts 12

1

How do I change the default adsense banner at the top of the page to be a different banner advert?

thanks

webnut

5:05 am
January 23, 2010


webnut

Member

posts 12

2

does anyone know how to do this?  I would like to change the adsense 728 x 90 banner for a clickbank banner but can't work out how to do it.  Thanks

8:54 am
March 19, 2010


kschuster

Member

posts 6

3

I too would like to do this

3:01 pm
March 29, 2010


Ryan

Admin

posts 1523

4

You'll need to edit the index.php, single.php and page.php files to do this.  Look for the <?php if ($flex_adsense_loc1 == "yes") code, and immediately after that you'll see a div.  The next 4 lines call the adsense, so if you want a different ad to display, simply replace those 4 lines (but not the closing div tag).  Do that in all 3 files, and also make sure you indicate "yes" to showing the location 1 leaderboard ad in the theme options.  That has to be set for that div to show.