How To Add Your Adsense Code To Header & Footer (No Plugins) [1.6 & 1.4]
#1
Admin CP > Templates > Current Theme > Header > Header > Full Edit

Go to the very bottom type "<div style="text-align: center;">" paste your ad code, then enter "</div>" at the end.

This is mainly for an image ad below your forum.

The downside of this is that ALL users see advertisements regardless of there usergroup. If you know enough you should be able to change that.

To add to your footer copy that whole code from the header, including the center, then open up your footer template. At the VERY top paste it.

Thanks to AJS
(2010-09-05, 05:03 PM)AJS Wrote: <center> tags are deprecated. You should really use:

<div style="text-align: center;">

You can make the ads viewable only to guests by adding the code to the header_welcomblock_guest template instead. Smile

If you used AJS's method make sure you add a </div>


Attached Files Thumbnail(s)
       
Reply


Messages In This Thread
How To Add Your Adsense Code To Header & Footer (No Plugins) [1.6 & 1.4] - by Kaleb M - 2010-09-05, 04:58 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)